winvlc: do use the libtool wrapper for vlc-static

This is required for Wine to find libvlc.dll and libvlccore.dll.
This commit is contained in:
Rémi Denis-Courmont 2011-07-28 19:50:25 +03:00
parent 00f9c81e01
commit 7a7630a19c

View File

@ -41,13 +41,14 @@ vlc_static_CFLAGS = $(AM_CFLAGS) \
$(NULL) $(NULL)
vlc_static_DEPENDENCIES = $(vlc_DEPENDENCIES) vlc_static_DEPENDENCIES = $(vlc_DEPENDENCIES)
vlc_static_LDADD = $(vlc_LDADD) vlc_static_LDADD = $(vlc_LDADD)
vlc_static_LDFLAGS = $(vlc_LDFLAGS) -no-install -static vlc_static_LDFLAGS = $(vlc_LDFLAGS)
if HAVE_WIN32 if HAVE_WIN32
vlc_LDADD += -lwininet vlc_win32_rc.$(OBJEXT) vlc_LDADD += -lwininet vlc_win32_rc.$(OBJEXT)
vlc_DEPENDENCIES += vlc_win32_rc.$(OBJEXT) vlc_DEPENDENCIES += vlc_win32_rc.$(OBJEXT)
else else
vlc_LDADD += $(LIBDL) vlc_LDADD += $(LIBDL)
vlc_LDFLAGS += -no-install -static
endif endif
vlc_win32_rc.rc: $(top_builddir)/config.status vlc_win32_rc.rc.in vlc_win32_rc.rc: $(top_builddir)/config.status vlc_win32_rc.rc.in