summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2014-08-11 19:03:40 (GMT)
committerTimothy Gu <timothygu99@gmail.com>2014-08-11 19:04:16 (GMT)
commit46c9b6d464425984fd905fadee893405648b7ce4 (patch)
tree73aaf47a350a541a32222bd1b47e8530843de31e
parent4202b74cc1bf60f7488b8ded803741004317c11b (diff)
downloadmxe-46c9b6d464425984fd905fadee893405648b7ce4.zip
mxe-46c9b6d464425984fd905fadee893405648b7ce4.tar.gz
mxe-46c9b6d464425984fd905fadee893405648b7ce4.tar.bz2
boost: add $(BUILD_SHARED) guards to the `mv` of DLLs
Fixes #457. Signed-off-by: Timothy Gu <timothygu99@gmail.com>
-rw-r--r--src/boost.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/boost.mk b/src/boost.mk
index 7820bf8..7b36398 100644
--- a/src/boost.mk
+++ b/src/boost.mk
@@ -45,7 +45,8 @@ define $(PKG)_BUILD
-sEXPAT_LIBPATH='$(PREFIX)/$(TARGET)/lib' \
stage install
- mv -fv $(PREFIX)/$(TARGET)/lib/libboost_*.dll '$(PREFIX)/$(TARGET)/bin/'
+ $(if $(BUILD_SHARED), \
+ mv -fv $(PREFIX)/$(TARGET)/lib/libboost_*.dll '$(PREFIX)/$(TARGET)/bin/')
'$(TARGET)-g++' \
-W -Wall -Werror -ansi -U__STRICT_ANSI__ -pedantic \