X-Git-Url: https://git.archive.openwrt.org/?p=15.05%2Fopenwrt.git;a=blobdiff_plain;f=include%2Fhost-build.mk;h=e2b5f2f8d1882207e11697df3df1302076adfaa3;hp=760d38b371f8fcb6af7acfcc3bd07e65647b0ae6;hb=4d47d61a5f59dc7a487248d6b43e2f536a6d794c;hpb=0b2e2546ec93da6f699f29d9a5706661b35fce77 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)" \