Author: nbd
Date: 2015-10-05 16:12:45 +0200 (Mon, 05 Oct 2015)
New Revision: 47141

Modified:
   branches/chaos_calmer/include/host-build.mk
Log:
build: include homebrew include/library directory in cflags/ldflags on mac os x

Signed-off-by: Felix Fietkau <[email protected]>

Backport of r47139

Modified: branches/chaos_calmer/include/host-build.mk
===================================================================
--- branches/chaos_calmer/include/host-build.mk 2015-10-05 14:12:42 UTC (rev 
47140)
+++ branches/chaos_calmer/include/host-build.mk 2015-10-05 14:12:45 UTC (rev 
47141)
@@ -50,6 +50,11 @@
   $(call Host/Prepare/Default)
 endef
 
+ifeq ($(HOST_OS),Darwin)
+  HOST_CFLAGS += -I/usr/local/opt/openssl/include
+  HOST_LDFLAGS += -L/usr/local/opt/openssl/lib
+endif
+
 HOST_CONFIGURE_VARS = \
        CC="$(HOSTCC)" \
        CFLAGS="$(HOST_CFLAGS)" \
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to