aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dynamic-layers/clang-layer/recipes-support/xdp-tools/xdp-tools_1.2.8.bb8
1 files changed, 3 insertions, 5 deletions
diff --git a/dynamic-layers/clang-layer/recipes-support/xdp-tools/xdp-tools_1.2.8.bb b/dynamic-layers/clang-layer/recipes-support/xdp-tools/xdp-tools_1.2.8.bb
index 99c435da..7cd49a0b 100644
--- a/dynamic-layers/clang-layer/recipes-support/xdp-tools/xdp-tools_1.2.8.bb
+++ b/dynamic-layers/clang-layer/recipes-support/xdp-tools/xdp-tools_1.2.8.bb
@@ -21,13 +21,11 @@ S = "${WORKDIR}/git"
inherit pkgconfig
-EXTRA_OEMAKE += "PREFIX=${D}${prefix} LIBDIR=${D}${libdir}"
+EXTRA_OEMAKE += "PREFIX=${D}${prefix} LIBDIR=${D}${libdir} BUILD_STATIC_ONLY=1 PRODUCTION=1"
-export STAGING_INCDIR
+CFLAGS += "-fPIC"
-do_configure:prepend () {
- export DYNAMIC_LIBXDP=1
-}
+export STAGING_INCDIR
do_install () {
oe_runmake install