summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/jpeg/jpeg_8d.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/jpeg/jpeg_8d.bb')
-rw-r--r--meta/recipes-core/jpeg/jpeg_8d.bb10
1 files changed, 3 insertions, 7 deletions
diff --git a/meta/recipes-core/jpeg/jpeg_8d.bb b/meta/recipes-core/jpeg/jpeg_8d.bb
index eba5bf46d2..ad4fa514cd 100644
--- a/meta/recipes-core/jpeg/jpeg_8d.bb
+++ b/meta/recipes-core/jpeg/jpeg_8d.bb
@@ -45,12 +45,8 @@ FILES_jpeg-tools = "${bindir}/*"
45BBCLASSEXTEND = "native" 45BBCLASSEXTEND = "native"
46 46
47pkg_postinst_${PN}_linuxstdbase () { 47pkg_postinst_${PN}_linuxstdbase () {
48 if [ "$D" = "" ]; then 48 if [ ! -e $D${libdir}/libjpeg.so.62 ]; then
49 if [ ! -e ${libdir}/libjpeg.so.62 ]; then 49 JPEG=`find $D${libdir} -type f -name libjpeg.so.\*.\*.\*`
50 JPEG=`find ${libdir} -type f -name libjpeg.so.\*.\*.\*` 50 ln -sf `basename $JPEG` $D${libdir}/libjpeg.so.62
51 ln -sf `basename $JPEG` ${libdir}/libjpeg.so.62
52 fi
53 else
54 exit 1
55 fi 51 fi
56} 52}