summaryrefslogtreecommitdiffstats
path: root/src/mman-win32.mk
diff options
context:
space:
mode:
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
-
-