[vlc-commits] winvlc: do use the libtool wrapper for vlc-static

Rémi Denis-Courmont git at videolan.org
Thu Jul 28 18:51:34 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Jul 28 19:50:25 2011 +0300| [7a7630a19c21ad53258ed1a8e39dfae1efcdb160] | committer: Rémi Denis-Courmont

winvlc: do use the libtool wrapper for vlc-static

This is required for Wine to find libvlc.dll and libvlccore.dll.

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

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

diff --git a/bin/Makefile.am b/bin/Makefile.am
index 0a44120..1ef61e7 100644
--- a/bin/Makefile.am
+++ b/bin/Makefile.am
@@ -41,13 +41,14 @@ vlc_static_CFLAGS = $(AM_CFLAGS) \
 	$(NULL)
 vlc_static_DEPENDENCIES = $(vlc_DEPENDENCIES)
 vlc_static_LDADD = $(vlc_LDADD)
-vlc_static_LDFLAGS = $(vlc_LDFLAGS) -no-install -static
+vlc_static_LDFLAGS = $(vlc_LDFLAGS)
 
 if HAVE_WIN32
 vlc_LDADD += -lwininet vlc_win32_rc.$(OBJEXT)
 vlc_DEPENDENCIES += vlc_win32_rc.$(OBJEXT)
 else
 vlc_LDADD += $(LIBDL)
+vlc_LDFLAGS += -no-install -static
 endif
 
 vlc_win32_rc.rc: $(top_builddir)/config.status vlc_win32_rc.rc.in



More information about the vlc-commits mailing list