summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-support/libcap/libcap_2.25.bb4
1 files changed, 1 insertions, 3 deletions
diff --git a/meta/recipes-support/libcap/libcap_2.25.bb b/meta/recipes-support/libcap/libcap_2.25.bb
index 0587e77e98..5c2765f343 100644
--- a/meta/recipes-support/libcap/libcap_2.25.bb
+++ b/meta/recipes-support/libcap/libcap_2.25.bb
@@ -22,9 +22,6 @@ do_configure() {
22 # on what should be replaced with ?= 22 # on what should be replaced with ?=
23 sed -e 's,:=,?=,g' -i Make.Rules 23 sed -e 's,:=,?=,g' -i Make.Rules
24 sed -e 's,^BUILD_CFLAGS ?= $(.*CFLAGS),BUILD_CFLAGS := $(BUILD_CFLAGS),' -i Make.Rules 24 sed -e 's,^BUILD_CFLAGS ?= $(.*CFLAGS),BUILD_CFLAGS := $(BUILD_CFLAGS),' -i Make.Rules
25
26 # disable gperf detection
27 sed -e '/shell gperf/cifeq (,yes)' -i libcap/Makefile
28} 25}
29 26
30PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" 27PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}"
@@ -37,6 +34,7 @@ EXTRA_OEMAKE = " \
37 lib=${@os.path.basename('${libdir}')} \ 34 lib=${@os.path.basename('${libdir}')} \
38 RAISE_SETFCAP=no \ 35 RAISE_SETFCAP=no \
39 DYNAMIC=yes \ 36 DYNAMIC=yes \
37 BUILD_GPERF=yes \
40" 38"
41 39
42EXTRA_OEMAKE_append_class-target = " SYSTEM_HEADERS=${STAGING_INCDIR}" 40EXTRA_OEMAKE_append_class-target = " SYSTEM_HEADERS=${STAGING_INCDIR}"