]> git.sesse.net Git - vlc/commitdiff
- bootstrap: quick fix for libtooling modules for mingw
authorDamien Fouilleul <damienf@videolan.org>
Mon, 23 Jul 2007 22:36:45 +0000 (22:36 +0000)
committerDamien Fouilleul <damienf@videolan.org>
Mon, 23 Jul 2007 22:36:45 +0000 (22:36 +0000)
bootstrap

index 3e0c9b578a9695cc0e37d9964a7ce1ae0db68c84..a3d297f66de35c9762a0d2930a687e6b9c91a155 100755 (executable)
--- 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