mirror of https://git.wownero.com/dsc/mxe.git
packages curl fftw fltk freetds gnutls libidn libssh2: enable/fix shared build
This commit is contained in:
parent
d48821a8bb
commit
89f10e44f8
|
@ -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 \
|
||||
|
|
|
@ -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=
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 =
|
||||
|
|
|
@ -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=
|
||||
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue