Merge pull request #1272 from garuma/master

mman-win32: re-enable static build after changes in ca5bba6
This commit is contained in:
Tony Theodore 2016-05-06 17:55:20 +10:00
commit ecc6e3fb44
1 changed files with 2 additions and 1 deletions

View File

@ -15,7 +15,8 @@ $(PKG)_UPDATE = $(call MXE_GET_GITHUB_SHA, witwall/mman-win32, master) | $(SED)
define $(PKG)_BUILD
mkdir '$(1).build'
cd '$(1).build' && '$(TARGET)-cmake' '$(1)'\
-DBUILD_TESTS=OFF
-DBUILD_TESTS=OFF \
$(if $(BUILD_STATIC),-DBUILD_SHARED_LIBS=OFF)
$(MAKE) -C '$(1).build' -j '$(JOBS)'
$(MAKE) -C '$(1).build' -j 1 install