[vlc-commits] UAC.dll: build with static libgcc/libstdc++
Rafaël Carré
git at videolan.org
Mon Oct 22 11:05:34 CEST 2012
vlc/vlc-2.0 | branch: master | Rafaël Carré <funman at videolan.org> | Fri Oct 19 16:30:55 2012 +0200| [e93388af5e5e4d305bb7bb325633de8b8ae75de1] | committer: Jean-Baptiste Kempf
UAC.dll: build with static libgcc/libstdc++
(cherry picked from commit 05d0d2b0adbc21fb97bf176aa4adeadad52ae7df)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=e93388af5e5e4d305bb7bb325633de8b8ae75de1
---
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 c17ef06..818e871 100644
--- a/extras/package/win32/package.mak
+++ b/extras/package/win32/package.mak
@@ -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
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