summaryrefslogtreecommitdiff
path: root/packages/dri
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2005-03-06 13:03:10 +0000
committerPhil Blundell <philb@gnu.org>2005-03-06 13:03:10 +0000
commit1d3c470ade9261731da11890d938ba41b0ce77f4 (patch)
treecfd480d179c586da62af25890c4722663a51efb2 /packages/dri
parent9e95356279b9ab8a11e0e2295ddee2627cf95297 (diff)
fix installation of libdrm.so
BKrev: 422aff8esp45wcj3exiWL1ilMTHA7A
Diffstat (limited to 'packages/dri')
-rw-r--r--packages/dri/drm_cvs.bb7
1 files changed, 6 insertions, 1 deletions
diff --git a/packages/dri/drm_cvs.bb b/packages/dri/drm_cvs.bb
index c12b2b8269..b5abcd9fb3 100644
--- a/packages/dri/drm_cvs.bb
+++ b/packages/dri/drm_cvs.bb
@@ -4,7 +4,7 @@ SRC_URI = "cvs://anoncvs@dri.freedesktop.org/cvs/dri;module=drm;method=pserver \
file://config.patch;patch=1"
PV = "0.0cvs${CVSDATE}"
-PR = "r1"
+PR = "r2"
S = "${WORKDIR}/drm"
@@ -14,6 +14,7 @@ do_compile() {
do_stage() {
oe_libinstall -so -C libdrm libdrm ${STAGING_LIBDIR}
+ ln -sf libdrm.so ${STAGING_LIBDIR}/libdrm.so.1
for i in xf86drmCompat.h xf86drm.h; do
install -m 0644 libdrm/$i ${STAGING_INCDIR}
done
@@ -26,5 +27,9 @@ do_install() {
install -d ${D}${includedir}
install -d ${D}/lib
oe_runmake -C libdrm DESTDIR="${D}" install
+ install -d ${D}${libdir}
+ mv ${D}/lib/libdrm.so ${D}${libdir}/libdrm.so.1
+ ln -sf libdrm.so.1 ${D}${libdir}/libdrm.so
+ rmdir ${D}/lib
}