summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-08-01 06:55:28 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-08-09 09:24:16 +0100
commit9265bec0526dbf03c301224c47c5c3ec47861c80 (patch)
tree1b6bf9903aaf59ee48a73e6687dfce563f68af08 /meta/recipes-graphics
parent884f74250d0ccaa6ebeaf2b3d1d17179b1dcc09b (diff)
downloadpoky-9265bec0526dbf03c301224c47c5c3ec47861c80.tar.gz
mesa: Use chrpath to delete rpaths
It adds native sysroot chrpath due to llvm-config in cross compiling we can delete them via chrpath, since libs are in standard paths rpath is really not needed (From OE-Core rev: 1882726f61216c1a490370456c2e68efc3862052) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r--meta/recipes-graphics/mesa/mesa.inc7
1 files changed, 4 insertions, 3 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index 3b42fa9fe8..efe2bce065 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -14,8 +14,8 @@ LIC_FILES_CHKSUM = "file://docs/license.html;md5=725f991a1cc322aa7a0cd3a2016621c
14 14
15PE = "2" 15PE = "2"
16 16
17DEPENDS = "expat makedepend-native flex-native bison-native libxml2-native zlib" 17DEPENDS = "expat makedepend-native flex-native bison-native libxml2-native zlib chrpath-replacement-native"
18 18EXTRANATIVEPATH += "chrpath-native"
19PROVIDES = "virtual/libgl virtual/libgles1 virtual/libgles2 virtual/egl virtual/mesa" 19PROVIDES = "virtual/libgl virtual/libgles1 virtual/libgles2 virtual/egl virtual/mesa"
20 20
21inherit autotools pkgconfig gettext distro_features_check 21inherit autotools pkgconfig gettext distro_features_check
@@ -115,9 +115,10 @@ do_install_append () {
115 rm -f ${D}${libdir}/egl/*.la 115 rm -f ${D}${libdir}/egl/*.la
116 rm -f ${D}${libdir}/gallium-pipe/*.la 116 rm -f ${D}${libdir}/gallium-pipe/*.la
117 rm -f ${D}${libdir}/gbm/*.la 117 rm -f ${D}${libdir}/gbm/*.la
118 118
119 # it was packaged in libdricore9.1.3-1 and preventing upgrades when debian.bbclass was used 119 # it was packaged in libdricore9.1.3-1 and preventing upgrades when debian.bbclass was used
120 rm -f ${D}${sysconfdir}/drirc 120 rm -f ${D}${sysconfdir}/drirc
121 chrpath --delete ${D}${libdir}/dri/*_dri.so
121} 122}
122 123
123# For the packages that make up the OpenGL interfaces, inject variables so that 124# For the packages that make up the OpenGL interfaces, inject variables so that