diff options
author | Luis Saavedra <luis94855510@gmail.com> | 2012-03-14 16:49:25 (GMT) |
---|---|---|
committer | Luis Saavedra <luis94855510@gmail.com> | 2012-03-14 16:49:25 (GMT) |
commit | 04871c7ec09b2a25ca32c2abe0fbad68d9b9e587 (patch) | |
tree | 9c7586a5e9d01d564fcb8921d310dcefb4cc7228 /src/wt.mk | |
parent | 8befdfa841d495fa23a5ea9a48c787318c294e62 (diff) | |
download | mxe-04871c7ec09b2a25ca32c2abe0fbad68d9b9e587.zip mxe-04871c7ec09b2a25ca32c2abe0fbad68d9b9e587.tar.gz mxe-04871c7ec09b2a25ca32c2abe0fbad68d9b9e587.tar.bz2 |
Some fixes in wt library:
* build outside your source directory
* boost shared off
* added patch to libharu taken from http://redmine.webtoolkit.eu/projects/wt/wiki/LibHaru
regards,
Luis
Diffstat (limited to 'src/wt.mk')
-rw-r--r-- | src/wt.mk | 16 |
1 files changed, 10 insertions, 6 deletions
@@ -19,19 +19,23 @@ define $(PKG)_UPDATE endef define $(PKG)_BUILD - mkdir '$(1)/build' - cd '$(1)/build' && cmake .. \ - -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \ - -DCMAKE_BUILD_TYPE:STRING="Release" \ + # build wt libraries + mkdir '$(1).build' + cd '$(1).build' && cmake \ + -DCONFIGDIR='$(PREFIX)/$(TARGET)/etc/wt' \ -DBUILD_EXAMPLES=OFF \ -DBUILD_TESTS=OFF \ -DSHARED_LIBS=OFF \ + -DBOOST_DYNAMIC=OFF \ -DBOOST_PREFIX='$(PREFIX)/$(TARGET)' \ -DBOOST_COMPILER=_win32 \ -DSSL_PREFIX='$(PREFIX)/$(TARGET)' \ -DOPENSSL_LIBS="`'$(TARGET)-pkg-config' --libs-only-l openssl`" \ -DGM_PREFIX='$(PREFIX)/$(TARGET)' \ -DGM_LIBS="`'$(TARGET)-pkg-config' --libs-only-l GraphicsMagick++`" \ - -DPANGO_FT2_LIBS="`'$(TARGET)-pkg-config' --libs-only-l pangoft2`" - $(MAKE) -C '$(1)/build' -j '$(JOBS)' install VERBOSE=1 + -DPANGO_FT2_LIBS="`'$(TARGET)-pkg-config' --libs-only-l pangoft2`" \ + -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \ + -DCMAKE_BUILD_TYPE:STRING="Release" \ + '$(1)' + $(MAKE) -C '$(1).build' -j '$(JOBS)' install VERBOSE=1 endef |