From 3049eec544a23e13e77ea476984545c9195e3b05 Mon Sep 17 00:00:00 2001 From: Tony Theodore Date: Mon, 14 Sep 2015 15:04:43 +1000 Subject: termcap: autoreconf ancient configure script and fix AR --- src/termcap.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- cgit v0.12