diff options
author | Tony Theodore <tonyt@logyst.com> | 2014-02-17 05:01:50 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2014-02-17 05:01:50 (GMT) |
commit | 89f10e44f86b314387c0d0968193fe26d4eef22f (patch) | |
tree | a8709023591944a9ebf2218beb14e4e46878cd59 /src/fltk.mk | |
parent | d48821a8bb3d8652d156904ae6d85816a0259cc9 (diff) | |
download | mxe-89f10e44f86b314387c0d0968193fe26d4eef22f.zip mxe-89f10e44f86b314387c0d0968193fe26d4eef22f.tar.gz mxe-89f10e44f86b314387c0d0968193fe26d4eef22f.tar.bz2 |
packages curl fftw fltk freetds gnutls libidn libssh2: enable/fix shared build
Diffstat (limited to 'src/fltk.mk')
-rw-r--r-- | src/fltk.mk | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/fltk.mk b/src/fltk.mk index 37f0ba5..235d2b6 100644 --- a/src/fltk.mk +++ b/src/fltk.mk @@ -21,10 +21,7 @@ define $(PKG)_BUILD cd '$(1)' && autoconf $(SED) -i 's,\$$uname,MINGW,g' '$(1)/configure' cd '$(1)' && ./configure \ - --host='$(TARGET)' \ - --build="`config.guess`" \ - --disable-shared \ - --prefix='$(PREFIX)/$(TARGET)' \ + $(MXE_CONFIGURE_OPTS) \ --enable-threads \ LIBS='-lws2_32' # enable exceptions, because disabling them doesn't make any sense on PCs @@ -35,5 +32,5 @@ define $(PKG)_BUILD '$(TARGET)-g++' \ -W -Wall -Werror -pedantic -ansi \ '$(2).cpp' -o '$(PREFIX)/$(TARGET)/bin/test-fltk.exe' \ - `$(TARGET)-fltk-config --cxxflags --ldstaticflags` + `$(TARGET)-fltk-config --cxxflags --ld$(if $(BUILD_STATIC),static)flags` endef |