summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/libcap/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/libcap/Makefile b/package/libcap/Makefile
index d509e1960..29c417237 100644
--- a/package/libcap/Makefile
+++ b/package/libcap/Makefile
@@ -25,6 +25,10 @@ endif
HOST_STYLE:= manual
CONFIG_STYLE:= manual
+MAKE_ENV+= BUILD_CC="${HOST_CC}"
+ifeq ($(ADK_PACKAGE_PAM),)
+MAKE_ENV+= PAM_CAP=no
+endif
host-build:
(cd ${WRKBUILD} && env ${HOST_MAKE_ENV} ${MAKE} -f ${MAKE_FILE} \