[vlc-devel] commit: libvlccore: is a pure C library - don't use the C++ linker ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Jun 22 18:44:58 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sun Jun 22 19:46:48 2008 +0300| [ffd957bd3130b792a11fc0422b9908ff5b46bf59]

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.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ffd957bd3130b792a11fc0422b9908ff5b46bf59
---

 src/Makefile.am |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 33f18d9..fcc9e2c 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -6,6 +6,7 @@ AUTOMAKE_OPTIONS = subdir-objects
 
 NULL =
 EXTRA_DIST = extras/COPYING modules/builtin.h.in \
+	misc/beos_specific.cpp \
 	libvlc.pc.in \
 	vlc-plugin.pc.in \
 	libvlc.sym \
@@ -176,8 +177,6 @@ libvlccore_la_CFLAGS = `$(VLC_CONFIG) --cflags libvlc` \
 	-DDATA_PATH=\"$(pkgdatadir)\" \
 	-DLIBDIR=\"$(libdir)\" \
 	-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) \
 	-export-symbols $(srcdir)/libvlccore.sym \
 	-version-info 0:0:0
@@ -235,7 +234,6 @@ libvlccore_la_SOURCES += $(SOURCES_libvlc_sout)
 endif
 
 SOURCES_libvlc_beos = \
-	misc/beos_specific.cpp \
 	$(NULL)
 
 SOURCES_libvlc_darwin = \




More information about the vlc-devel mailing list