Commit 05d0d2b0 authored by Rafaël Carré's avatar Rafaël Carré

UAC.dll: build with static libgcc/libstdc++

parent d83eeb5e
......@@ -133,10 +133,10 @@ package-win32-crx: package-win32-webplugin-common
$(win32_destdir)/NSIS/UAC.dll: extras/package/win32/NSIS/UAC/runas.cpp extras/package/win32/NSIS/UAC/uac.cpp
mkdir -p "$(win32_destdir)/NSIS/"
if HAVE_WIN64
i686-w64-mingw32-g++ $^ -shared -o $@ -lole32
i686-w64-mingw32-g++ $^ -shared -o $@ -lole32 -static-libstdc++ -static-libgcc
i686-w64-mingw32-strip $@
else
$(CXX) $^ -D_WIN32_IE=0x0601 -D__forceinline=inline -shared -o $@ -lole32
$(CXX) $^ -D_WIN32_IE=0x0601 -D__forceinline=inline -shared -o $@ -lole32 -static-libstdc++ -static-libgcc
$(STRIP) $@
endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment