diff options
Diffstat (limited to 'meta/recipes-support/libcap/libcap.inc')
-rw-r--r-- | meta/recipes-support/libcap/libcap.inc | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/meta/recipes-support/libcap/libcap.inc b/meta/recipes-support/libcap/libcap.inc index 350653071e..184b58a3e0 100644 --- a/meta/recipes-support/libcap/libcap.inc +++ b/meta/recipes-support/libcap/libcap.inc | |||
@@ -21,9 +21,18 @@ do_configure() { | |||
21 | sed -e 's,BUILD_CFLAGS ?=,BUILD_CFLAGS := $(BUILD_CFLAGS),' -i Make.Rules | 21 | sed -e 's,BUILD_CFLAGS ?=,BUILD_CFLAGS := $(BUILD_CFLAGS),' -i Make.Rules |
22 | } | 22 | } |
23 | 23 | ||
24 | EXTRA_OEMAKE = "LIBATTR=yes PAM_CAP=${@base_contains('DISTRO_FEATURES', 'pam', 'yes', 'no', d)} INDENT= SYSTEM_HEADERS=${STAGING_INCDIR} RAISE_SETFCAP=no" | 24 | EXTRA_OEMAKE = " \ |
25 | EXTRA_OEMAKE_virtclass-native = "LIBATTR=no PAM_CAP=no INDENT= " | 25 | LIBATTR=yes \ |
26 | EXTRA_OEMAKE += " lib=${@os.path.basename('${libdir}')}" | 26 | PAM_CAP=${@base_contains('DISTRO_FEATURES', 'pam', 'yes', 'no', d)} \ |
27 | INDENT= SYSTEM_HEADERS=${STAGING_INCDIR} RAISE_SETFCAP=no \ | ||
28 | lib=${@os.path.basename('${libdir}')} \ | ||
29 | " | ||
30 | EXTRA_OEMAKE_virtclass-native = " \ | ||
31 | LIBATTR=no \ | ||
32 | PAM_CAP=no \ | ||
33 | INDENT= \ | ||
34 | lib=${@os.path.basename('${libdir}')} \ | ||
35 | " | ||
27 | 36 | ||
28 | do_compile() { | 37 | do_compile() { |
29 | oe_runmake | 38 | oe_runmake |