summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libtool.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libtool.mk b/src/libtool.mk
index 036dd02..fc402e8 100644
--- a/src/libtool.mk
+++ b/src/libtool.mk
@@ -15,6 +15,14 @@ define $(PKG)_UPDATE
head -1
endef
+define $(PKG)_BUILD_NATIVE
+ mkdir '$(1).build'
+ cd '$(1).build' && '$(1)/configure' \
+ --prefix='$(PREFIX)/native'
+ $(MAKE) -C '$(1).build' -j '$(JOBS)'
+ $(MAKE) -C '$(1).build' -j 1 install
+endef
+
define $(PKG)_BUILD
cd '$(1)/libltdl' && ./configure \
--host='$(TARGET)' \