mirror of
https://github.com/videolan/vlc.git
synced 2024-12-12 03:06:13 +08:00
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:
parent
00f9c81e01
commit
7a7630a19c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user