aboutsummaryrefslogtreecommitdiffstats
path: root/meta-security-compliance
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2017-11-07 16:56:22 -0800
committerArmin Kuster <akuster808@gmail.com>2017-12-10 15:03:46 -0800
commit694ab819bc573c68d376fc9a7d99ec3b5628837d (patch)
tree21880f5cbe5cdd93e4f5165a0611be466ecb9038 /meta-security-compliance
parent756f65f0f8b6ca85868448551fbdf178c77d6251 (diff)
downloadmeta-security-694ab819bc573c68d376fc9a7d99ec3b5628837d.tar.gz
meta-security-694ab819bc573c68d376fc9a7d99ec3b5628837d.tar.bz2
meta-security-694ab819bc573c68d376fc9a7d99ec3b5628837d.zip
openscap: fix build issue
core2-64-oe-linux/openscap/1.2.15-r0/git/src/.libs/libopenscap.so: error: undefined reference to 'dlopen' | core2-64-oe-linux/openscap/1.2.15-r0/git/src/.libs/libopenscap.so: error: undefined reference to 'dlsym' | core2-64-oe-linux/openscap/1.2.15-r0/git/src/.libs/libopenscap.so: error: undefined reference to 'dlerror' | core2-64-oe-linux/openscap/1.2.15-r0/git/src/.libs/libopenscap.so: error: undefined reference to 'dlclose' Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-security-compliance')
-rw-r--r--meta-security-compliance/recipes-openscap/openscap/openscap_1.2.15.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-security-compliance/recipes-openscap/openscap/openscap_1.2.15.bb b/meta-security-compliance/recipes-openscap/openscap/openscap_1.2.15.bb
index 4dacfa2..7cbb1e2 100644
--- a/meta-security-compliance/recipes-openscap/openscap/openscap_1.2.15.bb
+++ b/meta-security-compliance/recipes-openscap/openscap/openscap_1.2.15.bb
@@ -30,6 +30,8 @@ PACKAGECONFIG[python3] = "--enable-python3, --disable-python3, python3, python3"
PACKAGECONFIG[perl] = "--enable-perl, --disable-perl, perl, perl"
PACKAGECONFIG[rpm] = " --enable-util-scap-as-rpm, --disable-util-scap-as-rpm, rpm, rpm"
+export LDFLAGS += " -ldl"
+
EXTRA_OECONF += "--enable-probes-independent --enable-probes-linux \
--enable-probes-solaris --enable-probes-unix --disable-util-oscap-docker\
--enable-util-oscap-ssh --enable-util-oscap --enable-ssp --enable-sce \