diff options
author | Timothy Gu <timothygu99@gmail.com> | 2014-09-09 00:11:29 (GMT) |
---|---|---|
committer | Timothy Gu <timothygu99@gmail.com> | 2014-09-09 00:28:37 (GMT) |
commit | f29c8cafc3072f9cf1e7a4a0b039ffad1037a39a (patch) | |
tree | 93e9749b8a0c784d0c178a380bea3b4d3babf511 /src/poco.mk | |
parent | c28b3ea9bc79e3736bc6bb3184041d35afe2930d (diff) | |
download | mxe-f29c8cafc3072f9cf1e7a4a0b039ffad1037a39a.zip mxe-f29c8cafc3072f9cf1e7a4a0b039ffad1037a39a.tar.gz mxe-f29c8cafc3072f9cf1e7a4a0b039ffad1037a39a.tar.bz2 |
poco: Use system zlib etc. and enable on i686-w64-mingw32
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Diffstat (limited to 'src/poco.mk')
-rw-r--r-- | src/poco.mk | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/poco.mk b/src/poco.mk index 1bd05e1..4e0df7e 100644 --- a/src/poco.mk +++ b/src/poco.mk @@ -8,7 +8,7 @@ $(PKG)_CHECKSUM := 90042349faf1790b5167bad0e84e1713bfd46046 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $($(PKG)_SUBDIR).tar.gz $(PKG)_URL := http://pocoproject.org/releases/$(PKG)-$(word 1,$(subst p, ,$($(PKG)_VERSION)))/$($(PKG)_FILE) -$(PKG)_DEPS := gcc +$(PKG)_DEPS := gcc expat openssl pcre sqlite zlib define $(PKG)_UPDATE $(WGET) -q -O- 'http://pocoproject.org/download/' | \ @@ -20,16 +20,15 @@ define $(PKG)_BUILD cd '$(1)' && ./configure \ --config=MinGW-CrossEnv \ --static \ + --unbundled \ --prefix='$(PREFIX)/$(TARGET)' $(MAKE) -C '$(1)' -j '$(JOBS)' install CROSSENV=$(TARGET) '$(TARGET)-g++' \ - -W -Wall -Werror -ansi -pedantic \ + -W -Wall -Werror -ansi -pedantic -DPOCO_STATIC=1 \ '$(2).cpp' -o '$(PREFIX)/$(TARGET)/bin/test-poco.exe' \ -lPocoFoundation endef $(PKG)_BUILD_x86_64-w64-mingw32 = -$(PKG)_BUILD_i686-w64-mingw32 = - $(PKG)_BUILD_SHARED = |