summaryrefslogtreecommitdiff
path: root/package/libcap/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-11-20 17:42:34 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-11-25 01:49:36 +0100
commitb0f23d1e562e753cb78a473fdade956a25cc337b (patch)
treefe4a5908d1e39e24ec6df66052e866ed72421a79 /package/libcap/Makefile
parent49a817b44be5695a87f6b4c8eadef3bb0f9419f9 (diff)
finalize systemd as alternative init system
Most important is the fix in patch-src_journal_journald-server_c, which breaks startup of systemd-journald when code is compiled with -DNDEBUG. A lot of base-files reorganizing to only install required files on sysv systems.
Diffstat (limited to 'package/libcap/Makefile')
-rw-r--r--package/libcap/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/package/libcap/Makefile b/package/libcap/Makefile
index 53587d7f1..294cd2bd8 100644
--- a/package/libcap/Makefile
+++ b/package/libcap/Makefile
@@ -19,10 +19,11 @@ include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,LIBCAP,libcap,$(PKG_VERSION)-$(PKG_RELEASE)))
$(eval $(call PKG_template,LIBCAP,libcap,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
-HOST_STYLE:= manual
+ifeq ($(OS_FOR_BUILD),Darwin)
+HOST_CFLAGS+= -I$(STAGING_TARGET_DIR)/usr/include
+endif
-# for Darwin hosts
-CPPFLAGS_FOR_BUILD+= -I$(STAGING_TARGET_DIR)/usr/include
+HOST_STYLE:= manual
CONFIG_STYLE:= manual
host-build: