build: include homebrew include/library directory in cflags/ldflags on mac os x
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47139
This commit is contained in:
		| @@ -50,6 +50,11 @@ define Host/Prepare | |||||||
|   $(call Host/Prepare/Default) |   $(call Host/Prepare/Default) | ||||||
| endef | 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 = \ | HOST_CONFIGURE_VARS = \ | ||||||
| 	CC="$(HOSTCC)" \ | 	CC="$(HOSTCC)" \ | ||||||
| 	CFLAGS="$(HOST_CFLAGS)" \ | 	CFLAGS="$(HOST_CFLAGS)" \ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Felix Fietkau
					Felix Fietkau