summaryrefslogtreecommitdiff
path: root/meta/classes/image-mklibs.bbclass
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2011-08-03 23:03:23 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-05 17:13:00 +0100
commit7615f81f86bb5ccfe52b84b38eb9ae80a852d214 (patch)
treeb3daaa8ef59a29cba88077ea117819b09c0161ee /meta/classes/image-mklibs.bbclass
parentef6007cf129a6eec71e1cbb1c65efc8bfd3991e0 (diff)
downloadopenembedded-core-7615f81f86bb5ccfe52b84b38eb9ae80a852d214.tar.gz
openembedded-core-7615f81f86bb5ccfe52b84b38eb9ae80a852d214.tar.bz2
openembedded-core-7615f81f86bb5ccfe52b84b38eb9ae80a852d214.zip
image-mklibs.bbclass: Utilize ${base_libdir} instead of static /lib
We might redefine ${base_libdir} from being set to just /lib. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'meta/classes/image-mklibs.bbclass')
-rw-r--r--meta/classes/image-mklibs.bbclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/classes/image-mklibs.bbclass b/meta/classes/image-mklibs.bbclass
index d6630c48db..69dac2f567 100644
--- a/meta/classes/image-mklibs.bbclass
+++ b/meta/classes/image-mklibs.bbclass
@@ -17,19 +17,19 @@ mklibs_optimize_image_doit() {
case ${TARGET_ARCH} in
powerpc | mips | microblaze )
- dynamic_loader="/lib/ld.so.1"
+ dynamic_loader="${base_libdir}/ld.so.1"
;;
powerpc64)
dynamic_loader="${base_libdir}/ld64.so.1"
;;
x86_64)
- dynamic_loader="/lib/ld-linux-x86-64.so.2"
+ dynamic_loader="${base_libdir}/ld-linux-x86-64.so.2"
;;
i586 )
- dynamic_loader="/lib/ld-linux.so.2"
+ dynamic_loader="${base_libdir}/ld-linux.so.2"
;;
arm )
- dynamic_loader="/lib/ld-linux.so.3"
+ dynamic_loader="${base_libdir}/ld-linux.so.3"
;;
* )
dynamic_loader="/unknown_dynamic_linker"