summaryrefslogtreecommitdiffstats
path: root/src/openssl.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2014-02-09 12:29:51 (GMT)
committerTony Theodore <tonyt@logyst.com>2014-02-09 12:29:51 (GMT)
commit57fa8e075ed02e7f062dceefce8c8342d3e23e82 (patch)
tree9525c440daeda63e0993c0eb2bc2c72a526c2e2d /src/openssl.mk
parent6cf952d7a86d8933bb2fff6f1acada1c02809556 (diff)
downloadmxe-57fa8e075ed02e7f062dceefce8c8342d3e23e82.zip
mxe-57fa8e075ed02e7f062dceefce8c8342d3e23e82.tar.gz
mxe-57fa8e075ed02e7f062dceefce8c8342d3e23e82.tar.bz2
package qt4 and dependencies: enable shared builds
Diffstat (limited to 'src/openssl.mk')
-rw-r--r--src/openssl.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/openssl.mk b/src/openssl.mk
index 3059727..80a57d2 100644
--- a/src/openssl.mk
+++ b/src/openssl.mk
@@ -22,13 +22,14 @@ define $(PKG)_BUILD
cd '$(1)' && CC='$(TARGET)-gcc' ./Configure \
mingw \
zlib \
- no-shared \
+ $(if $(BUILD_STATIC),no-,)shared \
no-capieng \
--prefix='$(PREFIX)/$(TARGET)'
$(MAKE) -C '$(1)' install -j 1 \
CC='$(TARGET)-gcc' \
RANLIB='$(TARGET)-ranlib' \
- AR='$(TARGET)-ar rcu'
+ AR='$(TARGET)-ar rcu' \
+ CROSS_COMPILE='$(TARGET)-'
endef
$(PKG)_BUILD_x86_64-w64-mingw32 = $(subst mingw ,mingw64 ,$($(PKG)_BUILD))