diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-10-05 14:11:30 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-10-05 14:11:30 +0000 |
commit | 7235d819dd6c6640e4ec917038d8564e268c42c4 (patch) | |
tree | be4e44065b1d217e1cd1eadfcba69f99aa5b1077 | |
parent | b78ab35ab4ed20223b8944a47e7106b6e8442ff9 (diff) | |
download | master-187ad058-7235d819dd6c6640e4ec917038d8564e268c42c4.tar.gz master-187ad058-7235d819dd6c6640e4ec917038d8564e268c42c4.tar.bz2 master-187ad058-7235d819dd6c6640e4ec917038d8564e268c42c4.zip |
build: include homebrew include/library directory in cflags/ldflags on mac os x
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47139 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | include/host-build.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/host-build.mk b/include/host-build.mk index 760d38b371..e2b5f2f8d1 100644 --- a/include/host-build.mk +++ b/include/host-build.mk @@ -50,6 +50,11 @@ define Host/Prepare $(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)" \ |