[vlc-devel] [PATCH] vlccore: export all symbols on OS/2

KO Myung-Hun komh78 at gmail.com
Mon Oct 27 03:59:07 CET 2014


OS/2 has additional symbols not listed in libvlccore.sym. They are
vlc_poll() and freeaddrinfo(). So the modules using them cannot be
linked.
---
 src/Makefile.am |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 1e113c9..ed56464 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -181,8 +181,10 @@ libvlccore_la_SOURCES = $(SOURCES_libvlc)
 libvlccore_la_LDFLAGS = \
 	$(LDFLAGS_libvlccore) \
 	-no-undefined \
-	-export-symbols $(srcdir)/libvlccore.sym \
 	-version-info 8:0:0
+if !HAVE_OS2
+libvlccore_la_LDFLAGS += -export-symbols $(srcdir)/libvlccore.sym
+endif
 libvlccore_la_LIBADD = $(LIBS_libvlccore) \
 	../compat/libcompat.la \
 	$(LTLIBINTL) $(LTLIBICONV) \
-- 
1.7.3.2




More information about the vlc-devel mailing list