collada-dom: adding libpcre dependency

Executing 'bitbake packagegroup-ros-world' shows the warning:
WARNING: QA Issue: collada-dom rdepends on libpcrecpp but its not a build dependency? [build-deps]

On a clean build, 'bitbake collada-dom' fails with:
| Linking CXX shared library libcollada-dom2.4-dp.so
...
| .../build/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/4.9.1/ld: external-libs/pcre-8.02/libpcre_local.a(pcre_compile.c.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
| external-libs/pcre-8.02/libpcre_local.a: error adding symbols: Bad value
| collect2: error: ld returned 1 exit status
| make[2]: *** [dom/libcollada-dom2.4-dp.so.2.4.0] Error 1

This commits adds libpcre as dependency, and resolves the issue.
This commit is contained in:
Lukas Bulwahn 2014-08-04 07:07:15 +02:00
parent 168ddc675f
commit 0569363ca5
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ COLLADA XML instance document."
LICENSE = "MIT" LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://License_Folder/license_e.txt;md5=33ea5b7341abf67bd9055a229646feae" LIC_FILES_CHKSUM = "file://License_Folder/license_e.txt;md5=33ea5b7341abf67bd9055a229646feae"
DEPENDS = "boost libxml2" DEPENDS = "boost libxml2 libpcre"
SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tgz" SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tgz"
SRC_URI[md5sum] = "20399de4206eab850c32e65c04e907cb" SRC_URI[md5sum] = "20399de4206eab850c32e65c04e907cb"