diff options
author | Tony Theodore <tonyt@logyst.com> | 2014-03-10 02:33:47 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2014-03-10 02:33:47 (GMT) |
commit | 0ff238e8828ca20b526a7da00f728c279e095200 (patch) | |
tree | bbf07a94ceac38baccd5cf2183e721f10c243748 /Makefile | |
parent | ba382cbf17735e363fc22728e2131d09d4c81ce6 (diff) | |
download | mxe-0ff238e8828ca20b526a7da00f728c279e095200.zip mxe-0ff238e8828ca20b526a7da00f728c279e095200.tar.gz mxe-0ff238e8828ca20b526a7da00f728c279e095200.tar.bz2 |
Makefile: add support for make-shared-from-static tool with default args
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -59,6 +59,15 @@ MXE_CONFIGURE_OPTS = \ --enable-static --disable-shared , \ --disable-static --enable-shared ) +MAKE_SHARED_FROM_STATIC = \ + '$(TOP_DIR)/tools/make-shared-from-static' \ + $(if $(findstring mingw,$(TARGET)),--windowsdll) \ + --ar '$(TARGET)-ar' \ + --ld '$(TARGET)-gcc' \ + --install '$(INSTALL)' \ + --libdir '$(PREFIX)/$(TARGET)/lib' \ + --bindir '$(PREFIX)/$(TARGET)/bin' + # use a minimal whitelist of safe environment variables ENV_WHITELIST := PATH LANG MAKE% MXE% %PROXY %proxy unexport $(filter-out $(ENV_WHITELIST),$(shell env | cut -d '=' -f1)) |