diff options
author | Tony Theodore <tonyt@logyst.com> | 2013-07-19 10:31:34 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2013-07-19 10:31:34 (GMT) |
commit | b54718e2208edc3871ca443e4318a2a0bf68a026 (patch) | |
tree | b81a603c8e777a046415cae0a17a2d6d3eda9846 /src/libtool.mk | |
parent | 4bfd1ca749f3c39400158fc45e25dd49078728f3 (diff) | |
download | mxe-b54718e2208edc3871ca443e4318a2a0bf68a026.zip mxe-b54718e2208edc3871ca443e4318a2a0bf68a026.tar.gz mxe-b54718e2208edc3871ca443e4318a2a0bf68a026.tar.bz2 |
package libtool: add optional native build
Diffstat (limited to 'src/libtool.mk')
-rw-r--r-- | src/libtool.mk | 8 |
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)' \ |