diff options
author | Tony Theodore <tonyt@logyst.com> | 2012-12-05 07:52:44 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2012-12-05 07:52:44 (GMT) |
commit | e792db019afb9957468e0be9006beb9a0ff38d9f (patch) | |
tree | f3fafa9fcf045146515b773162bc3e34d1004bec | |
parent | dfd9239fc36e1ec00603587ac353b90fcf30196b (diff) | |
download | mxe-e792db019afb9957468e0be9006beb9a0ff38d9f.zip mxe-e792db019afb9957468e0be9006beb9a0ff38d9f.tar.gz mxe-e792db019afb9957468e0be9006beb9a0ff38d9f.tar.bz2 |
packages qdbm wget: replace i686-pc-mingw32 with TARGET variable
-rw-r--r-- | src/qdbm.mk | 4 | ||||
-rw-r--r-- | src/wget.mk | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/qdbm.mk b/src/qdbm.mk index e6be155..d0cd78a 100644 --- a/src/qdbm.mk +++ b/src/qdbm.mk @@ -28,8 +28,8 @@ define $(PKG)_BUILD static \ MYBINS= \ MYLIBS=libqdbm.a \ - AR=i686-pc-mingw32-ar \ - RANLIB=i686-pc-mingw32-ranlib + AR='$(TARGET)-ar' \ + RANLIB='$(TARGET)-ranlib' $(INSTALL) -d '$(PREFIX)/$(TARGET)/lib/pkgconfig' $(INSTALL) -m644 '$(1)/libqdbm.a' '$(PREFIX)/$(TARGET)/lib/' $(INSTALL) -m644 '$(1)/qdbm.pc' '$(PREFIX)/$(TARGET)/lib/pkgconfig/' diff --git a/src/wget.mk b/src/wget.mk index 36c11b7..4f7c7b3 100644 --- a/src/wget.mk +++ b/src/wget.mk @@ -17,7 +17,7 @@ endef define $(PKG)_BUILD # avoid conflict with base64_encode from gnutls $(SED) -i 's/^base64_encode /wget_base64_encode /;' '$(1)/src/utils.c' - $(SED) -i 's/-lidn/`i686-pc-mingw32-pkg-config --libs libidn`/g;' '$(1)/configure' + $(SED) -i 's/-lidn/`$(TARGET)-pkg-config --libs libidn`/g;' '$(1)/configure' cd '$(1)' && ./configure \ --host='$(TARGET)' \ --build="`config.guess`" \ |