summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2015-06-04 18:44:01 -0700
committerMartin Jansa <Martin.Jansa@gmail.com>2015-06-08 14:15:25 +0200
commita8b76a264155f4b9f6ba1bebe3ac87640a6f35ed (patch)
treeead9c3334bc4150ba9bbe7cbff0142c59b6ed283 /meta-oe/recipes-support
parentf0221b5f2268596c064183f69dd70291e9d831d5 (diff)
downloadmeta-openembedded-a8b76a264155f4b9f6ba1bebe3ac87640a6f35ed.tar.gz
cpufrequtils: Create proper symlinks to versioned library
Currently it produces duplicated .so files for .so.0 and .so.0.0.0 this is also noticed by opkg upgrade Configuring libxcb-randr0. /sbin/ldconfig: /usr/lib/libcpufreq.so.0 is not a symbolic link Additionally helps in some code size savings Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support')
-rw-r--r--meta-oe/recipes-support/cpufrequtils/cpufrequtils_008.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/cpufrequtils/cpufrequtils_008.bb b/meta-oe/recipes-support/cpufrequtils/cpufrequtils_008.bb
index e3b4de102..88fcc0200 100644
--- a/meta-oe/recipes-support/cpufrequtils/cpufrequtils_008.bb
+++ b/meta-oe/recipes-support/cpufrequtils/cpufrequtils_008.bb
@@ -14,7 +14,7 @@ SRC_URI = "git://github.com/emagii/cpufrequtils.git \
14 file://0001-dont-unset-cflags.patch \ 14 file://0001-dont-unset-cflags.patch \
15" 15"
16 16
17CFLAGS_append_libc-uclibc = " ${@['-DNLS', '-UNLS']['${USE_NLS}' == 'no']} " 17EXTRA_OEMAKE_append = " ${@['', 'NLS=false']['${USE_NLS}' == 'no']} "
18 18
19PR = "r5" 19PR = "r5"
20 20
@@ -30,5 +30,8 @@ do_compile() {
30 30
31do_install() { 31do_install() {
32 oe_runmake -e install DESTDIR=${D} 32 oe_runmake -e install DESTDIR=${D}
33 rm -f ${D}${libdir}/libcpufreq.so.0 ${D}${libdir}/libcpufreq.so
34 ln -s libcpufreq.so.0.0.0 ${D}${libdir}/libcpufreq.so.0
35 ln -s libcpufreq.so.0.0.0 ${D}${libdir}/libcpufreq.so
33} 36}
34 37