summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Löffler <st.loeffler@gmail.com>2017-05-01 10:18:06 (GMT)
committerBoris Nagaev <bnagaev@gmail.com>2017-05-18 23:33:51 (GMT)
commit123703b9d2ee3163802b3ca0e372918b6a1d4a63 (patch)
tree88a930fc6f8f20661e3afbd0287fdf938ac15d34 /src
parente4bc67dd79e76d0fdcaa7b40dfca03de3fc855bf (diff)
downloadmxe-123703b9d2ee3163802b3ca0e372918b6a1d4a63.zip
mxe-123703b9d2ee3163802b3ca0e372918b6a1d4a63.tar.gz
mxe-123703b9d2ee3163802b3ca0e372918b6a1d4a63.tar.bz2
Add support for out-of-source builds of hunspell
Diffstat (limited to 'src')
-rw-r--r--src/hunspell.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/hunspell.mk b/src/hunspell.mk
index af40384..a1210ed 100644
--- a/src/hunspell.mk
+++ b/src/hunspell.mk
@@ -11,12 +11,13 @@ $(PKG)_DEPS := gcc gettext libiconv pthreads readline
define $(PKG)_BUILD
# Note: the configure file doesn't pick up pdcurses, so "ui" is disabled
- cd '$(1)' && autoreconf -vfi && ./configure \
+ cd '$(SOURCE_DIR)' && autoreconf -fi
+ cd '$(BUILD_DIR)' && '$(SOURCE_DIR)/configure' \
$(MXE_CONFIGURE_OPTS) \
--with-warnings \
--without-ui \
--with-readline
- $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
+ $(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
# Test
'$(TARGET)-g++' \