summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/openssl/Makefile4
-rw-r--r--package/wget/Makefile2
2 files changed, 5 insertions, 1 deletions
diff --git a/package/openssl/Makefile b/package/openssl/Makefile
index a6a6968c9..535f5cac0 100644
--- a/package/openssl/Makefile
+++ b/package/openssl/Makefile
@@ -65,7 +65,11 @@ CONFIG:= linux-embedded
endif
host-configure:
+ifneq ($(OStype),Darwin)
(cd $(WRKBUILD); ./config --prefix='$(STAGING_HOST_DIR)/usr' -fPIC)
+else
+ (cd $(WRKBUILD); OPTIMIZATION_FLAGS="-fPIC" ./Configure darwin64-x86_64-cc --prefix='$(STAGING_HOST_DIR)/usr')
+endif
host-build:
(cd $(WRKBUILD); make)
diff --git a/package/wget/Makefile b/package/wget/Makefile
index 4dc27527d..17eac1cb5 100644
--- a/package/wget/Makefile
+++ b/package/wget/Makefile
@@ -46,7 +46,7 @@ endif
HOST_CONFIGURE_ARGS+= --with-ssl=openssl \
--with-openssl=yes \
- --with-libssl-prefix=$(STAGING_HOST_DIR)
+ --with-libssl-prefix=$(STAGING_HOST_DIR)/usr
wget-install:
${INSTALL_DIR} ${IDIR_WGET}/etc ${IDIR_WGET}/usr/bin