diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2015-04-03 22:56:54 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2015-04-03 22:56:54 +0200 |
commit | 1b579f2666a0d3d1076540c7c15714e6ec773df5 (patch) | |
tree | c280fdf3ab1836e74628b6a9b5f38cfde74f565b /package/openssl | |
parent | 051031041e439b1d8ea374251b45344cd69224c1 (diff) |
fix host compile of openssl/wget on Darwin
Diffstat (limited to 'package/openssl')
-rw-r--r-- | package/openssl/Makefile | 4 |
1 files changed, 4 insertions, 0 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) |