summaryrefslogtreecommitdiffstats
path: root/src/mman-win32.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2014-02-10 05:33:26 (GMT)
committerTony Theodore <tonyt@logyst.com>2014-02-10 05:33:26 (GMT)
commitc950f3635caa9b2dd562286baa51138e6e30dca1 (patch)
treeee5f2c4ce5fe0c32fc7e587b464dbe22c7ecab70 /src/mman-win32.mk
parent6e81d8db349e9672c3cd67b0b6c49b5405f806f2 (diff)
downloadmxe-c950f3635caa9b2dd562286baa51138e6e30dca1.zip
mxe-c950f3635caa9b2dd562286baa51138e6e30dca1.tar.gz
mxe-c950f3635caa9b2dd562286baa51138e6e30dca1.tar.bz2
various packages: enable shared builds
Diffstat (limited to 'src/mman-win32.mk')
-rw-r--r--src/mman-win32.mk4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mman-win32.mk b/src/mman-win32.mk
index bfe7c8d..ef722b4 100644
--- a/src/mman-win32.mk
+++ b/src/mman-win32.mk
@@ -19,12 +19,10 @@ define $(PKG)_BUILD
cd '$(1)' && chmod +x configure
cd '$(1)' && ./configure \
--cross-prefix='$(TARGET)'- \
- --enable-static \
+ $(if $(BUILD_STATIC),--enable-static ) \
--prefix='$(PREFIX)/$(TARGET)' \
--libdir='$(PREFIX)/$(TARGET)/lib' \
--incdir='$(PREFIX)/$(TARGET)/include/sys'
$(MAKE) -C '$(1)' -j 1
$(MAKE) -C '$(1)' -j 1 install
endef
-
-