summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/boost.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boost.mk b/src/boost.mk
index 6ee3180..3c11f88 100644
--- a/src/boost.mk
+++ b/src/boost.mk
@@ -31,7 +31,7 @@ define $(PKG)_BUILD
--user-config=user-config.jam \
target-os=windows \
threading=multi \
- link=static \
+ link=$(if $(BUILD_STATIC),static,shared) \
threadapi=win32 \
--layout=tagged \
--without-mpi \