summaryrefslogtreecommitdiffstats
path: root/src/termcap.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2015-09-14 05:04:43 (GMT)
committerTony Theodore <tonyt@logyst.com>2015-09-14 05:04:43 (GMT)
commit3049eec544a23e13e77ea476984545c9195e3b05 (patch)
treeb8126724f7e2757f52f9297b5e9e44ed2f9b8b06 /src/termcap.mk
parent989f09ca99a56cdb68f5f4b2dc65e9390b29289f (diff)
downloadmxe-3049eec544a23e13e77ea476984545c9195e3b05.zip
mxe-3049eec544a23e13e77ea476984545c9195e3b05.tar.gz
mxe-3049eec544a23e13e77ea476984545c9195e3b05.tar.bz2
termcap: autoreconf ancient configure script and fix AR
Diffstat (limited to 'src/termcap.mk')
-rw-r--r--src/termcap.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/termcap.mk b/src/termcap.mk
index 7fe2cec..41d678f 100644
--- a/src/termcap.mk
+++ b/src/termcap.mk
@@ -18,7 +18,12 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
+ # configure script is ancient and lacks cross-compiling support
+ cd '$(1)' && autoreconf -fi
cd '$(1)' && ./configure \
$(MXE_CONFIGURE_OPTS)
- $(MAKE) -C '$(1)' -j '$(JOBS)' install oldincludedir=
+ $(MAKE) -C '$(1)' -j '$(JOBS)' \
+ AR='$(TARGET)-ar' \
+ oldincludedir= \
+ install
endef