[vlc-commits] UAC.dll: build with static libgcc/libstdc++
Rafaël Carré
git at videolan.org
Fri Oct 19 16:31:24 CEST 2012
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Fri Oct 19 16:30:55 2012 +0200| [05d0d2b0adbc21fb97bf176aa4adeadad52ae7df] | committer: Rafaël Carré
UAC.dll: build with static libgcc/libstdc++
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=05d0d2b0adbc21fb97bf176aa4adeadad52ae7df
---
extras/package/win32/package.mak | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/extras/package/win32/package.mak b/extras/package/win32/package.mak
index c78437c..0978e1b 100644
--- a/extras/package/win32/package.mak
+++ b/extras/package/win32/package.mak
@@ -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
More information about the vlc-commits
mailing list