summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorBoris Nagaev <bnagaev@gmail.com>2017-04-30 23:46:11 (GMT)
committerBoris Nagaev <bnagaev@gmail.com>2017-05-18 23:59:05 (GMT)
commitc4ad27a9934205dcee0e74b37ad603ad17f5a95e (patch)
tree9a949e71dffcd7b9b035d4b7f190dd47cfe92f54 /plugins
parent6f2f49743025449aa03266d3c4778454324b60a2 (diff)
downloadmxe-c4ad27a9934205dcee0e74b37ad603ad17f5a95e.zip
mxe-c4ad27a9934205dcee0e74b37ad603ad17f5a95e.tar.gz
mxe-c4ad27a9934205dcee0e74b37ad603ad17f5a95e.tar.bz2
tor: build out-of-tree, install -j 1
Diffstat (limited to 'plugins')
-rw-r--r--plugins/apps/tor.mk9
1 files changed, 5 insertions, 4 deletions
diff --git a/plugins/apps/tor.mk b/plugins/apps/tor.mk
index e789ba0..439dd2d 100644
--- a/plugins/apps/tor.mk
+++ b/plugins/apps/tor.mk
@@ -18,12 +18,13 @@ $(WGET) -q -O- 'https://torproject.org/download/download' | \
endef
define $(PKG)_BUILD
- cd '$(1)' && \
+ cd '$(BUILD_DIR)' && \
LIBS="`'$(TARGET)-pkg-config' --libs-only-l openssl`" \
- ./configure \
+ '$(SOURCE_DIR)/configure' \
$(MXE_CONFIGURE_OPTS)
- $(SED) 's@#define HAVE_SYS_MMAN_H 1@// Disabled in MXE #define HAVE_SYS_MMAN_H 1@' -i '$(1)/orconfig.h'
- $(MAKE) -C '$(1)' -j '$(JOBS)' install $(MXE_DISABLE_DOCS)
+ $(SED) 's@#define HAVE_SYS_MMAN_H 1@// Disabled in MXE #define HAVE_SYS_MMAN_H 1@' -i '$(BUILD_DIR)/orconfig.h'
+ $(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)' $(MXE_DISABLE_DOCS)
+ $(MAKE) -C '$(BUILD_DIR)' -j 1 install $(MXE_DISABLE_DOCS)
endef
$(PKG)_BUILD_SHARED =