Commit e93388af authored by Rafaël Carré's avatar Rafaël Carré Committed by Jean-Baptiste Kempf

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

(cherry picked from commit 05d0d2b0adbc21fb97bf176aa4adeadad52ae7df)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent f8c5a751
...@@ -137,10 +137,10 @@ package-win32-crx: package-win32-webplugin-common ...@@ -137,10 +137,10 @@ package-win32-crx: package-win32-webplugin-common
$(win32_destdir)/NSIS/UAC.dll: extras/package/win32/UAC/runas.cpp extras/package/win32/UAC/uac.cpp $(win32_destdir)/NSIS/UAC.dll: extras/package/win32/UAC/runas.cpp extras/package/win32/UAC/uac.cpp
mkdir -p "$(win32_destdir)/NSIS/" mkdir -p "$(win32_destdir)/NSIS/"
if HAVE_WIN64 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 $@ i686-w64-mingw32-strip $@
else 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) $@ $(STRIP) $@
endif 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