[vlc-devel] [PATCH 1/2] Add -avoid-version to LDFLAGS of vlc and vlccore on OS/2

KO Myung-Hun komh78 at gmail.com
Sun Oct 12 07:59:26 CEST 2014


---
 lib/Makefile.am |    4 ++++
 src/Makefile.am |    3 +++
 2 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/lib/Makefile.am b/lib/Makefile.am
index e004b2e..deca355 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -67,6 +67,10 @@ libvlc_la_DEPENDENCIES += ../src/libvlc_win32_rc.$(OBJEXT)
 libvlc_la_LDFLAGS += -Wl,../src/libvlc_win32_rc.$(OBJEXT) -avoid-version
 endif
 
+if HAVE_OS2
+libvlc_la_LDFLAGS += -avoid-version
+endif
+
 pkgconfig_DATA = libvlc.pc
 
 .pc.in.pc: $(top_builddir)/config.status
diff --git a/src/Makefile.am b/src/Makefile.am
index 9111e73..1e113c9 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -192,6 +192,9 @@ if HAVE_WIN32
 libvlccore_la_DEPENDENCIES += libvlc_win32_rc.$(OBJEXT)
 libvlccore_la_LDFLAGS += -Wl,libvlc_win32_rc.$(OBJEXT) -avoid-version
 endif
+if HAVE_OS2
+libvlccore_la_LDFLAGS += -avoid-version
+endif
 if HAVE_DBUS
 libvlccore_la_LIBADD += $(DBUS_LIBS)
 endif
-- 
1.7.3.2




More information about the vlc-devel mailing list