Commit 70963c20 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Link statically the libgcc libraries

parent f005f06a
......@@ -70,7 +70,8 @@ axvlc_la_SOURCES = \
axvlc_la_DEPENDENCIES = $(srcdir)/axvlc.def $(DATA_axvlc_rc)
axvlc_la_LDFLAGS = -Wl,$(srcdir)/axvlc.def -Wl,$(DATA_axvlc_rc) \
-no-undefined -avoid-version -module
-no-undefined -avoid-version -module \
-Wc,--static -Wc,-static-libgcc
axvlc_la_LIBADD = ../common/libvlcplugin_common.la \
$(LIBVLC_LIBS) $(ACTIVEX_LIBS)
......
......@@ -36,6 +36,10 @@ libvlcplugin_la_LDFLAGS = \
-module -avoid-version \
-no-undefined
if HAVE_WIN32
libvlcplugin_la_LDFLAGS += -Wc,--static -Wc,-static-libgcc
endif
npvlc_la_SOURCES = $(libvlcplugin_la_SOURCES)
npvlc_la_DEPENDENCIES = $(libvlcplugin_la_DEPENDENCIES)
npvlc_la_LIBADD = $(libvlcplugin_la_LIBADD)
......
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