mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-08 05:29:22 +00:00
yajl: pass the cmake variable LIB_SUFFIX to handle installation on 64-bit systems
WARNING: QA Issue: yajl: Files/directories were installed but not shipped
/usr/lib
/usr/lib/libyajl.so.2
/usr/lib/libyajl.so
/usr/lib/libyajl_s.a
/usr/lib/libyajl.so.2.0.4
/usr/lib/.debug
/usr/lib/.debug/libyajl.so.2.0.4
NOTE: for 64-bit systems where lib64 is used you can pass the cmake
variable LIB_SUFFIX to cause installation into the system's 'lib64'
directory.
Signed-off-by: Olivia Yin <hong-hua.yin@freescale.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
DESCRIPTION = "Yet Another JSON Library - A Portable JSON parsing and serialization library in ANSI C"
|
DESCRIPTION = "Yet Another JSON Library - A Portable JSON parsing and serialization library in ANSI C"
|
||||||
LICENSE = "MIT"
|
LICENSE = "MIT"
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=74f541bd9a2b6c8e5d0714bcdc327f32"
|
LIC_FILES_CHKSUM = "file://COPYING;md5=74f541bd9a2b6c8e5d0714bcdc327f32"
|
||||||
|
PR = "r1"
|
||||||
|
|
||||||
SRCREV = "fee1ebef9fa7dc0e9f5a23f37123b19b68c796ff"
|
SRCREV = "fee1ebef9fa7dc0e9f5a23f37123b19b68c796ff"
|
||||||
SRC_URI = "git://github.com/lloyd/yajl.git"
|
SRC_URI = "git://github.com/lloyd/yajl.git"
|
||||||
@@ -8,3 +9,5 @@ SRC_URI = "git://github.com/lloyd/yajl.git"
|
|||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
inherit cmake lib_package
|
inherit cmake lib_package
|
||||||
|
|
||||||
|
EXTRA_OECMAKE = "-DLIB_SUFFIX=${@d.getVar('baselib', True).replace('lib', '')}"
|
||||||
|
|||||||
Reference in New Issue
Block a user