summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2013-06-02 05:59:15 (GMT)
committerTony Theodore <tonyt@logyst.com>2013-06-02 05:59:15 (GMT)
commit3ea5013a49459505759fbbaca8621457a9423d43 (patch)
tree4b88a5d3dde163aaed58cd53d581cf4768c44b43
parent1acf9b0e66d95b1324cd9d2bde4790dd7edd0c39 (diff)
parent009a882b7b890c7d8b0049ad53a1fbf381466991 (diff)
downloadmxe-3ea5013a49459505759fbbaca8621457a9423d43.zip
mxe-3ea5013a49459505759fbbaca8621457a9423d43.tar.gz
mxe-3ea5013a49459505759fbbaca8621457a9423d43.tar.bz2
Merge pull request #197 from mabrand/fix64
fixes for w64
-rw-r--r--src/gettext.mk1
-rw-r--r--src/gmp.mk1
-rw-r--r--src/gnutls.mk1
-rw-r--r--src/libgcrypt.mk1
-rw-r--r--src/libgpg_error.mk1
-rw-r--r--src/libgsasl.mk1
-rw-r--r--src/libiconv.mk1
-rw-r--r--src/libidn.mk1
-rw-r--r--src/libntlm.mk3
-rw-r--r--src/nettle.mk3
-rw-r--r--src/pcre.mk1
-rw-r--r--src/vmime.mk3
-rw-r--r--src/winpthreads.mk1
13 files changed, 14 insertions, 5 deletions
diff --git a/src/gettext.mk b/src/gettext.mk
index 0183cd1..7488068 100644
--- a/src/gettext.mk
+++ b/src/gettext.mk
@@ -21,6 +21,7 @@ define $(PKG)_BUILD
--host='$(TARGET)' \
--disable-shared \
--prefix='$(PREFIX)/$(TARGET)' \
+ --libdir='$(PREFIX)/$(TARGET)/lib' \
--enable-threads=win32 \
--without-libexpat-prefix \
--without-libxml2-prefix \
diff --git a/src/gmp.mk b/src/gmp.mk
index 9c3bde5..14076ef 100644
--- a/src/gmp.mk
+++ b/src/gmp.mk
@@ -23,6 +23,7 @@ define $(PKG)_BUILD
--host='$(TARGET)' \
--build="`config.guess`" \
--prefix='$(PREFIX)/$(TARGET)' \
+ --libdir='$(PREFIX)/$(TARGET)/lib' \
--disable-shared \
--enable-cxx \
--without-readline
diff --git a/src/gnutls.mk b/src/gnutls.mk
index 1dfa8b9..ef5ab08 100644
--- a/src/gnutls.mk
+++ b/src/gnutls.mk
@@ -30,6 +30,7 @@ define $(PKG)_BUILD
--enable-static \
--disable-shared \
--prefix='$(PREFIX)/$(TARGET)' \
+ --libdir='$(PREFIX)/$(TARGET)/lib' \
--disable-rpath \
--disable-nls \
--disable-guile \
diff --git a/src/libgcrypt.mk b/src/libgcrypt.mk
index 0ef9254..5c12611 100644
--- a/src/libgcrypt.mk
+++ b/src/libgcrypt.mk
@@ -22,6 +22,7 @@ define $(PKG)_CONFIGURE
--build="`config.guess`" \
--disable-shared \
--prefix='$(PREFIX)/$(TARGET)' \
+ --libdir='$(PREFIX)/$(TARGET)/lib' \
--with-gpg-error-prefix='$(PREFIX)/$(TARGET)'
endef
diff --git a/src/libgpg_error.mk b/src/libgpg_error.mk
index f18ad33..36565d4 100644
--- a/src/libgpg_error.mk
+++ b/src/libgpg_error.mk
@@ -21,6 +21,7 @@ define $(PKG)_BUILD
--build="`config.guess`" \
--disable-shared \
--prefix='$(PREFIX)/$(TARGET)' \
+ --libdir='$(PREFIX)/$(TARGET)/lib' \
--disable-nls \
--disable-languages
$(MAKE) -C '$(1)/src' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
diff --git a/src/libgsasl.mk b/src/libgsasl.mk
index e2f62a9..477fea6 100644
--- a/src/libgsasl.mk
+++ b/src/libgsasl.mk
@@ -22,6 +22,7 @@ define $(PKG)_BUILD
--build="`config.guess`" \
--disable-shared \
--prefix='$(PREFIX)/$(TARGET)' \
+ --libdir='$(PREFIX)/$(TARGET)/lib' \
--disable-nls \
--with-libgcrypt \
--with-libiconv-prefix='$(PREFIX)/$(TARGET)' \
diff --git a/src/libiconv.mk b/src/libiconv.mk
index b4393d0..f5d1b03 100644
--- a/src/libiconv.mk
+++ b/src/libiconv.mk
@@ -21,6 +21,7 @@ define $(PKG)_BUILD
cd '$(1)' && ./configure \
--host='$(TARGET)' \
--prefix='$(PREFIX)/$(TARGET)' \
+ --libdir='$(PREFIX)/$(TARGET)/lib' \
--disable-shared \
--disable-nls
$(MAKE) -C '$(1)/libcharset' -j '$(JOBS)' install
diff --git a/src/libidn.mk b/src/libidn.mk
index 6e0734a..9806a06 100644
--- a/src/libidn.mk
+++ b/src/libidn.mk
@@ -23,6 +23,7 @@ define $(PKG)_BUILD
--disable-shared \
--disable-csharp \
--prefix='$(PREFIX)/$(TARGET)' \
+ --libdir='$(PREFIX)/$(TARGET)/lib' \
--with-libiconv-prefix='$(PREFIX)/$(TARGET)'
$(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
diff --git a/src/libntlm.mk b/src/libntlm.mk
index daa167a..0ebbdc4 100644
--- a/src/libntlm.mk
+++ b/src/libntlm.mk
@@ -21,6 +21,7 @@ define $(PKG)_BUILD
--host='$(TARGET)' \
--build="`config.guess`" \
--disable-shared \
- --prefix='$(PREFIX)/$(TARGET)'
+ --prefix='$(PREFIX)/$(TARGET)' \
+ --libdir='$(PREFIX)/$(TARGET)/lib'
$(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
endef
diff --git a/src/nettle.mk b/src/nettle.mk
index d031dae..7bd81a8 100644
--- a/src/nettle.mk
+++ b/src/nettle.mk
@@ -22,7 +22,8 @@ define $(PKG)_BUILD
--host='$(TARGET)' \
--build="`config.guess`" \
--disable-shared \
- --prefix='$(PREFIX)/$(TARGET)'
+ --prefix='$(PREFIX)/$(TARGET)' \
+ --libdir='$(PREFIX)/$(TARGET)/lib'
$(MAKE) -C '$(1)' -j '$(JOBS)' getopt.o getopt1.o
$(MAKE) -C '$(1)' -j '$(JOBS)' install
endef
diff --git a/src/pcre.mk b/src/pcre.mk
index 1839988..1b56113 100644
--- a/src/pcre.mk
+++ b/src/pcre.mk
@@ -24,6 +24,7 @@ define $(PKG)_BUILD
--build="`config.guess`" \
--disable-shared \
--prefix='$(PREFIX)/$(TARGET)' \
+ --libdir='$(PREFIX)/$(TARGET)/lib' \
--enable-pcre16 \
--enable-utf \
--enable-unicode-properties \
diff --git a/src/vmime.mk b/src/vmime.mk
index d15ecf3..c9c2599 100644
--- a/src/vmime.mk
+++ b/src/vmime.mk
@@ -36,6 +36,3 @@ define $(PKG)_BUILD
`'$(TARGET)-pkg-config' vmime --cflags --libs`
$(INSTALL) -m755 '$(1)/examples/test-vmime.exe' '$(PREFIX)/$(TARGET)/bin/'
endef
-
-$(PKG)_BUILD_x86_64-w64-mingw32 =
-$(PKG)_BUILD_i686-w64-mingw32 =
diff --git a/src/winpthreads.mk b/src/winpthreads.mk
index ba2d132..01fb348 100644
--- a/src/winpthreads.mk
+++ b/src/winpthreads.mk
@@ -17,6 +17,7 @@ define $(PKG)_BUILD_mingw-w64
cd '$(1)/mingw-w64-libraries/winpthreads' && ./configure \
--host='$(TARGET)' \
--prefix='$(PREFIX)/$(TARGET)' \
+ --libdir='$(PREFIX)/$(TARGET)/lib'
--enable-static \
--disable-shared
$(MAKE) -C '$(1)/mingw-w64-libraries/winpthreads' -j '$(JOBS)' install