package libtool: add optional native build

This commit is contained in:
Tony Theodore 2013-07-19 20:31:34 +10:00
parent 4bfd1ca749
commit b54718e220
1 changed files with 8 additions and 0 deletions

View File

@ -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)' \