summaryrefslogtreecommitdiffstats
path: root/src/boost.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/boost.mk')
-rw-r--r--src/boost.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/boost.mk b/src/boost.mk
index 8e9e45b..c896b88 100644
--- a/src/boost.mk
+++ b/src/boost.mk
@@ -22,7 +22,7 @@ define $(PKG)_BUILD
rm -r '$(1)/libs/context'
# old version appears to interfere
rm -rf '$(PREFIX)/$(TARGET)/include/boost/'
- echo 'using gcc : : $(TARGET)-g++ : <rc>$(TARGET)-windres <archiver>$(TARGET)-ar ;' > '$(1)/user-config.jam'
+ echo 'using gcc : : $(TARGET)-g++ : <rc>$(TARGET)-windres <archiver>$(TARGET)-ar <ranlib>$(TARGET)-ranlib ;' > '$(1)/user-config.jam'
# compile boost jam
cd '$(1)/tools/build/v2/engine' && ./build.sh
cd '$(1)' && tools/build/v2/engine/bin.*/bjam \
@@ -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 \
--disable-icu \