Commit 56b8d483 authored by Rafaël Carré's avatar Rafaël Carré

win32: Use -static rather than undocumented --static when linking

Also remove -static-libgcc which is redundant with -static
parent e2827f53
......@@ -63,8 +63,7 @@ libvlc_la_LDFLAGS = \
libvlc_la_DEPENDENCIES = libvlc.sym
if HAVE_WIN32
libvlc_la_DEPENDENCIES += ../src/libvlc_win32_rc.$(OBJEXT)
libvlc_la_LDFLAGS += -Wl,../src/libvlc_win32_rc.$(OBJEXT) -avoid-version \
-Wc,--static -Wc,-static-libgcc
libvlc_la_LDFLAGS += -Wl,../src/libvlc_win32_rc.$(OBJEXT) -avoid-version -Wc,-static
endif
if HAVE_OS2
libvlc_la_LDFLAGS += -avoid-version
......
......@@ -33,8 +33,7 @@ AM_LDFLAGS = \
-no-undefined \
$(top_builddir)/compat/libcompat.la $(LTLIBVLCCORE)
if HAVE_WIN32
AM_LDFLAGS += $(top_builddir)/modules/module.rc.lo \
-Wc,--static -Wc,-static-libgcc
AM_LDFLAGS += $(top_builddir)/modules/module.rc.lo -Wc,-static
endif
SUFFIXES =
......@@ -193,8 +193,7 @@ libvlccore_la_LIBADD = $(LIBS_libvlccore) \
libvlccore_la_DEPENDENCIES = libvlccore.sym
if HAVE_WIN32
libvlccore_la_DEPENDENCIES += libvlc_win32_rc.$(OBJEXT)
libvlccore_la_LDFLAGS += -Wl,libvlc_win32_rc.$(OBJEXT) -avoid-version \
-Wc,--static -Wc,-static-libgcc
libvlccore_la_LDFLAGS += -Wl,libvlc_win32_rc.$(OBJEXT) -avoid-version -Wc,-static
endif
if HAVE_OS2
libvlccore_la_LDFLAGS += -avoid-version
......
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