packages curl fftw fltk freetds gnutls libidn libssh2: enable/fix shared build

This commit is contained in:
Tony Theodore 2014-02-17 16:01:50 +11:00
parent d48821a8bb
commit 89f10e44f8
7 changed files with 6 additions and 22 deletions

View File

@ -18,10 +18,7 @@ endef
define $(PKG)_BUILD
cd '$(1)' && ./configure \
--host='$(TARGET)' \
--build="`config.guess`" \
--disable-shared \
--prefix='$(PREFIX)/$(TARGET)' \
$(MXE_CONFIGURE_OPTS) \
--with-gnutls \
--with-libidn \
--enable-sspi \

View File

@ -21,14 +21,12 @@ endef
define $(PKG)_BUILD
cd '$(1)' && ./configure \
$(MXE_CONFIGURE_OPTS) \
--build="`config.guess`" \
--enable-threads
$(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
$(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
cd '$(1)' && ./configure \
$(MXE_CONFIGURE_OPTS) \
--build="`config.guess`" \
--enable-threads \
--enable-long-double
$(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
@ -36,7 +34,6 @@ define $(PKG)_BUILD
cd '$(1)' && ./configure \
$(MXE_CONFIGURE_OPTS) \
--build="`config.guess`" \
--enable-threads \
--enable-float
$(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=

View File

@ -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

View File

@ -32,7 +32,7 @@ define $(PKG)_BUILD
--enable-sspi \
--disable-threadsafe \
--with-tdsver=7.2 \
--with$(if $(BUILD_SHARED),out)-gnutls \
--with-gnutls \
PKG_CONFIG='$(TARGET)-pkg-config'
$(MAKE) -C '$(1)' -j '$(JOBS)' install man_MANS=
endef

View File

@ -48,5 +48,3 @@ define $(PKG)_BUILD
'$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-gnutls.exe' \
`'$(TARGET)-pkg-config' gnutls --cflags --libs`
endef
$(PKG)_BUILD_SHARED =

View File

@ -19,11 +19,8 @@ endef
define $(PKG)_BUILD
cd '$(1)' && ./configure \
--host='$(TARGET)' \
--build="`config.guess`" \
--disable-shared \
$(MXE_CONFIGURE_OPTS) \
--disable-csharp \
--prefix='$(PREFIX)/$(TARGET)' \
--with-libiconv-prefix='$(PREFIX)/$(TARGET)'
$(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=

View File

@ -20,9 +20,7 @@ endef
define $(PKG)_BUILD
cd '$(1)' && ./buildconf
cd '$(1)' && ./configure \
--host='$(TARGET)' \
--disable-shared \
--prefix='$(PREFIX)/$(TARGET)' \
$(MXE_CONFIGURE_OPTS) \
--without-openssl \
--with-libgcrypt \
PKG_CONFIG='$(TARGET)-pkg-config'