From: Wenzong Fan Date: Tue, 7 Aug 2012 12:14:23 +0000 (+0800) Subject: sysfsutils: install libs to base_libdir X-Git-Tag: rev_ivi_2015_02_04~16019 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=61519ab6ed87bd2252a6c592cd9fcad836bc920f;p=scm%2Fbb%2Ftizen-distro.git sysfsutils: install libs to base_libdir Fix the warning form pcmciautils building: "WARNING: QA Issue: pcmciautils: /sbin/pccardctl, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libsysfs.so.2 => /usr/lib/libsysfs.so.2" Just refer to Debian/Ubuntu distributions, install sysfsutils libs to "/lib*" instead of "/usr/lib*". [YOCTO #2907] (From OE-Core rev: f3c93627d4f603f9e4c4491d89eb988aa6241662) Signed-off-by: Wenzong Fan Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/sysfsutils/sysfsutils_2.1.0.bb b/meta/recipes-core/sysfsutils/sysfsutils_2.1.0.bb index 3e4fdda..f01d19b 100644 --- a/meta/recipes-core/sysfsutils/sysfsutils_2.1.0.bb +++ b/meta/recipes-core/sysfsutils/sysfsutils_2.1.0.bb @@ -8,7 +8,7 @@ LICENSE_libsysfs = "LGPLv2.1" LIC_FILES_CHKSUM = "file://COPYING;md5=3d06403ea54c7574a9e581c6478cc393 \ file://cmd/GPL;md5=d41d4e2e1e108554e0388ea4aecd8d27 \ file://lib/LGPL;md5=b75d069791103ffe1c0d6435deeff72e" -PR = "r3" +PR = "r4" SRC_URI = "${SOURCEFORGE_MIRROR}/linux-diag/sysfsutils-${PV}.tar.gz \ file://sysfsutils-2.0.0-class-dup.patch \ @@ -24,3 +24,5 @@ PACKAGES =+ "libsysfs libsysfs-dev libsysfs-staticdev" FILES_libsysfs = "${libdir}/lib*${SOLIBS}" FILES_libsysfs-dev = "${libdir}/lib*${SOLIBSDEV} ${includedir}" FILES_libsysfs-staticdev = "${libdir}/lib*.a" + +export libdir = "${base_libdir}"