summaryrefslogtreecommitdiff
path: root/binary/mingw/build-dist
diff options
context:
space:
mode:
Diffstat (limited to 'binary/mingw/build-dist')
-rwxr-xr-xbinary/mingw/build-dist2
1 files changed, 1 insertions, 1 deletions
diff --git a/binary/mingw/build-dist b/binary/mingw/build-dist
index 2c5d31b..23a5834 100755
--- a/binary/mingw/build-dist
+++ b/binary/mingw/build-dist
@@ -198,7 +198,7 @@ else
rm -f gcc/cc1plus.exe gcc/cc1plus-dummy.exe
fi
-make STATIC_PLUGIN_LIBS="$out_root/odb-build/odb/.libs/odb.a $out_root/libcutl/cutl/.libs/libcutl.a -lstdc++ -static-libgcc"
+make STATIC_PLUGIN_LIBS="-Wl,--whole-archive $out_root/odb-build/odb/.libs/odb.a -Wl,--no-whole-archive $out_root/libcutl/cutl/.libs/libcutl.a -lstdc++ -static-libgcc"
make install
make -C i686-mingw32/libstdc++-v3 install-strip
cd ..