summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2013-08-13 12:45:35 (GMT)
committerTony Theodore <tonyt@logyst.com>2013-08-13 12:45:35 (GMT)
commitc927b1424b74e7eac06d2bd7b16985b9af8f9772 (patch)
tree01666cc10f5177d3cc3d7308a5b9787fc0a3b25c /src
parentbfad1b98b004ce6b0e3c7fe0b91d66194a563a03 (diff)
downloadmxe-c927b1424b74e7eac06d2bd7b16985b9af8f9772.zip
mxe-c927b1424b74e7eac06d2bd7b16985b9af8f9772.tar.gz
mxe-c927b1424b74e7eac06d2bd7b16985b9af8f9772.tar.bz2
packages mingw-utils pthreads-w32 winpthreads: use target specific deps
Diffstat (limited to 'src')
-rw-r--r--src/mingw-utils.mk4
-rw-r--r--src/pthreads-w32.mk4
-rw-r--r--src/winpthreads.mk5
3 files changed, 10 insertions, 3 deletions
diff --git a/src/mingw-utils.mk b/src/mingw-utils.mk
index f7ec696..c951e88 100644
--- a/src/mingw-utils.mk
+++ b/src/mingw-utils.mk
@@ -8,7 +8,9 @@ $(PKG)_CHECKSUM := 716f51d7622b36448fc1e92d2c69d8f41b1cc2df
$(PKG)_SUBDIR := $(PKG)-$(word 1,$(subst -, ,$($(PKG)_VERSION)))
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION)-mingw32-src.tar.lzma
$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/mingw/MinGW/Extension/$(PKG)/$(PKG)-$($(PKG)_VERSION)/$($(PKG)_FILE)
-$(PKG)_DEPS := gcc
+$(PKG)_DEPS :=
+
+$(PKG)_DEPS_i686-pc-mingw32 := gcc
define $(PKG)_UPDATE
$(WGET) -q -O- 'http://sourceforge.net/projects/mingw/files/MinGW/Extension/mingw-utils/' | \
diff --git a/src/pthreads-w32.mk b/src/pthreads-w32.mk
index f98c957..30d5632 100644
--- a/src/pthreads-w32.mk
+++ b/src/pthreads-w32.mk
@@ -8,7 +8,9 @@ $(PKG)_CHECKSUM := 24d40e89c2e66a765733e8c98d6f94500343da86
$(PKG)_SUBDIR := pthreads-w32-$($(PKG)_VERSION)-release
$(PKG)_FILE := pthreads-w32-$($(PKG)_VERSION)-release.tar.gz
$(PKG)_URL := ftp://sourceware.org/pub/pthreads-win32/$($(PKG)_FILE)
-$(PKG)_DEPS := gcc
+$(PKG)_DEPS :=
+
+$(PKG)_DEPS_i686-pc-mingw32 := gcc
define $(PKG)_UPDATE
$(WGET) -q -O- 'ftp://sourceware.org/pub/pthreads-win32/dll-latest/include/pthread.h' | \
diff --git a/src/winpthreads.mk b/src/winpthreads.mk
index f1e8a4f..10e77cc 100644
--- a/src/winpthreads.mk
+++ b/src/winpthreads.mk
@@ -8,7 +8,10 @@ $(PKG)_CHECKSUM = $(mingw-w64_CHECKSUM)
$(PKG)_SUBDIR = $(mingw-w64_SUBDIR)
$(PKG)_FILE = $(mingw-w64_FILE)
$(PKG)_URL = $(mingw-w64_URL)
-$(PKG)_DEPS := gcc mingw-w64
+$(PKG)_DEPS :=
+
+$(PKG)_DEPS_i686-w64-mingw32 := gcc
+$(PKG)_DEPS_x86_64-w64-mingw32 := gcc
define $(PKG)_UPDATE
echo $(mingw-w64_VERSION)