diff options
author | Tony Theodore <tonyt@logyst.com> | 2013-06-27 13:32:33 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2013-06-27 13:32:33 (GMT) |
commit | 48299bae3197841cdeeba7aee93cf0246dc75995 (patch) | |
tree | 6fdc06c3b4967c2f60e6adedaa09b375e66e6f87 /src | |
parent | 59dfeb6d53e2492e4c599818d20d9f5c3945957a (diff) | |
download | mxe-48299bae3197841cdeeba7aee93cf0246dc75995.zip mxe-48299bae3197841cdeeba7aee93cf0246dc75995.tar.gz mxe-48299bae3197841cdeeba7aee93cf0246dc75995.tar.bz2 |
package qdbm: workaround detection of cross-tools
Diffstat (limited to 'src')
-rw-r--r-- | src/qdbm.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qdbm.mk b/src/qdbm.mk index 162f946..6c36def 100644 --- a/src/qdbm.mk +++ b/src/qdbm.mk @@ -19,7 +19,9 @@ endef define $(PKG)_BUILD find '$(1)' -name 'Makefile.in' \ -exec $(SED) -i 's,make ,$(MAKE) ,g' {} \; - cd '$(1)' && ./configure \ + $(SED) -i 's,LD=`which ld`,LD=$(TARGET)-ld,' '$(1)/configure' + $(SED) -i 's,AR=`which ar`,AR=$(TARGET)-ar,' '$(1)/configure' + cd '$(1)' && CC='$(PREFIX)/bin/$(TARGET)-gcc' ./configure \ --host='$(TARGET)' \ --prefix='$(PREFIX)/$(TARGET)' \ --enable-lzo \ |