Commit ffd957bd authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

libvlccore: is a pure C library - don't use the C++ linker

Saves linking against the C++ runtime,
and allows libtool to generate the symbols table properly.
parent 991ae089
...@@ -6,6 +6,7 @@ AUTOMAKE_OPTIONS = subdir-objects ...@@ -6,6 +6,7 @@ AUTOMAKE_OPTIONS = subdir-objects
NULL = NULL =
EXTRA_DIST = extras/COPYING modules/builtin.h.in \ EXTRA_DIST = extras/COPYING modules/builtin.h.in \
misc/beos_specific.cpp \
libvlc.pc.in \ libvlc.pc.in \
vlc-plugin.pc.in \ vlc-plugin.pc.in \
libvlc.sym \ libvlc.sym \
...@@ -176,8 +177,6 @@ libvlccore_la_CFLAGS = `$(VLC_CONFIG) --cflags libvlc` \ ...@@ -176,8 +177,6 @@ libvlccore_la_CFLAGS = `$(VLC_CONFIG) --cflags libvlc` \
-DDATA_PATH=\"$(pkgdatadir)\" \ -DDATA_PATH=\"$(pkgdatadir)\" \
-DLIBDIR=\"$(libdir)\" \ -DLIBDIR=\"$(libdir)\" \
-DPLUGIN_PATH=\"$(pkglibdir)\" -DPLUGIN_PATH=\"$(pkglibdir)\"
libvlccore_la_CXXFLAGS = `$(VLC_CONFIG) --cxxflags libvlc`
libvlccore_la_OBJCFLAGS = `$(VLC_CONFIG) --objcflags libvlc`
libvlccore_la_LDFLAGS = `$(VLC_CONFIG) --ldflags libvlc` $(AM_LDFLAGS) \ libvlccore_la_LDFLAGS = `$(VLC_CONFIG) --ldflags libvlc` $(AM_LDFLAGS) \
-export-symbols $(srcdir)/libvlccore.sym \ -export-symbols $(srcdir)/libvlccore.sym \
-version-info 0:0:0 -version-info 0:0:0
...@@ -235,7 +234,6 @@ libvlccore_la_SOURCES += $(SOURCES_libvlc_sout) ...@@ -235,7 +234,6 @@ libvlccore_la_SOURCES += $(SOURCES_libvlc_sout)
endif endif
SOURCES_libvlc_beos = \ SOURCES_libvlc_beos = \
misc/beos_specific.cpp \
$(NULL) $(NULL)
SOURCES_libvlc_darwin = \ SOURCES_libvlc_darwin = \
......
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