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 | 48374a3a9c555fd0c6b57a239546c6335fab9dc0 (patch) | |
tree | 459ce534cef6ad4d366518482af87fc456eb4c01 /include | |
parent | 9e670fcf9d436abe28df552eb7bb4cb325e354a9 (diff) | |
download | mtk-20170518-48374a3a9c555fd0c6b57a239546c6335fab9dc0.zip mtk-20170518-48374a3a9c555fd0c6b57a239546c6335fab9dc0.tar.gz mtk-20170518-48374a3a9c555fd0c6b57a239546c6335fab9dc0.tar.bz2 |
build: include homebrew include/library directory in cflags/ldflags on mac os x
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47139
Diffstat (limited to 'include')
-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 760d38b..e2b5f2f 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)" \ |