From 935af8b0594944307465a9d25c27625f663681b4 Mon Sep 17 00:00:00 2001 From: Damien Fouilleul Date: Mon, 23 Jul 2007 22:36:45 +0000 Subject: [PATCH] - bootstrap: quick fix for libtooling modules for mingw --- bootstrap | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) 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 -- 2.39.2