projects
/
15.05
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d618a2b
)
build: include homebrew include/library directory in cflags/ldflags on mac os x
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 5 Oct 2015 14:12:45 +0000
(14:12 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 5 Oct 2015 14:12:45 +0000
(14:12 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r47139
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47141
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
include/host-build.mk
patch
|
blob
|
history
diff --git
a/include/host-build.mk
b/include/host-build.mk
index
760d38b
..
e2b5f2f
100644
(file)
--- 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)" \