From: Damien Fouilleul Date: Mon, 23 Jul 2007 22:36:45 +0000 (+0000) Subject: - bootstrap: quick fix for libtooling modules for mingw X-Git-Tag: 0.9.0-test0~6753 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=935af8b0594944307465a9d25c27625f663681b4;p=vlc - bootstrap: quick fix for libtooling modules for mingw --- diff --git a/bootstrap b/bootstrap index 3e0c9b578a..a3d297f66d 100755 --- a/bootstrap +++ b/bootstrap @@ -221,7 +221,11 @@ EXTRA_LTLIBRARIES = ${extra_ltlibs} include Modules.am -LTLIBVLC = \$(top_builddir)/src/libvlc.la +if HAVE_WIN32 +LTLIBVLC = -L\$(top_builddir)/src -lvlc.dll +else +LTLIBVLC = -L\$(top_builddir)/src -lvlc +endif AM_LDFLAGS = -rpath '\$(libvlcdir)' -avoid-version \\ -module -no-undefined -shrext \$(LIBEXT) \\ @@ -229,9 +233,8 @@ AM_LDFLAGS = -rpath '\$(libvlcdir)' -avoid-version \\ if USE_LIBTOOL AM_LIBADD = \$(LTLIBVLC) -endif -if HAVE_WIN32 -LIBVLC = \$(top_builddir)/src/libvlc.dll +else +LIBVLC = -l\$(top_builddir) -lvlc endif all: all-modules