slang: export INST_LIB_DIR to fix compile problems
cover slang: export INST_LIB_DIR to fix compile problems
From: Kang Kai <[email protected]>
Hi Soul,
I have amend slang patch according to your demand, and resend it. Thank you!
When bitbake slang/slsh, it links to building machine's libraries by using INST_LIB_DIR. Export INST_LIB_DIR in do_install to fix the cross compile problems.
Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: kangkai/distro01
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kangkai/distro01
Thanks,
Kang Kai <[email protected]>
---
Kang Kai (1):
slang: export INST_LIB_DIR to fix compile problems
meta/recipes-extended/slang/slang_2.2.2.bb | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-)
PATCH 1/1 slang: export INST_LIB_DIR to fix compile problems
From: Kang Kai <[email protected]>
Export "INST_LIB_DIR" in do_install to slang/slsh to fix cross compile warnings Fix [YOCTO #812]
Add necessary files to run slsh.
--- meta/recipes-extended/slang/slang_2.2.2.bb | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-)
meta/recipes-extended/slang/slang_2.2.2.bb +7 -1
@@ -10,7 +10,7 @@ to recode S-Lang procedures in C if you need to." SECTION = "libs" PRIORITY = "optional" DEPENDS = "pcre" -PR = "r0" +PR = "r1" LICENSE = "GPL Artistic" LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
@@ -23,3 +23,9 @@ inherit autotools SRC_URI[md5sum] = "974437602a781cfe92ab61433dd16d03" SRC_URI[sha256sum] = "cfaf8551fa3855f9b0043309bb553ef6d457f931b404df5a6ba6a5a69371fc42" + +do_install() { + oe_runmake install DESTDIR=${D} -e 'INST_LIB_DIR=${STAGING_DIR_HOST}/usr/lib' +} + +FILES_${PN} += "/usr/share/slsh/"
Signature · 1 line
1.7.1
Kang,
Sorry about this, one other things was noticed about your use of FILES below, please see that comment.
Sau!
Quoted 26 lines · Kang Kai
From: Kang Kai<[email protected]>
Export "
INST_LIB_DIR" indo_installto slang/slsh to fix cross compile warnings Fix [YOCTO #812]Add necessary files to run slsh.
Signed-off-by Kang Kai<[email protected]>--- meta/recipes-extended/slang/slang_2.2.2.bb | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-)meta/recipes-extended/slang/slang_2.2.2.bb +1
-1@@ -10,7 +10,7 @@ to recode S-Lang procedures in C if you need to." SECTION = "libs" PRIORITY = "optional" DEPENDS = "pcre" -PR = "r0" +PR = "r1" LICENSE = "GPL Artistic" LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
meta/recipes-extended/slang/slang_2.2.2.bb inherit autotools · line 31
Quoted 9 lines
meta/recipes-extended/slang/slang_2.2.2.bb +6
-0@@ -23,3 +23,9 @@ inherit autotools SRC_URI[md5sum] = "974437602a781cfe92ab61433dd16d03" SRC_URI[sha256sum] = "cfaf8551fa3855f9b0043309bb553ef6d457f931b404df5a6ba6a5a69371fc42" + +do_install() { + oe_runmake install DESTDIR=${D} -e 'INST_LIB_DIR=${STAGING_DIR_HOST}/usr/lib' +} + +FILES_${PN} += "/usr/share/slsh/"
This should be:
FILES_${PN} += "${datadir}/slsh"
This change will ensure correct path names.
Sau!