* configure.ac.in: fixed linking problem with the slp plugin on win32.
authorGildas Bazin <gbazin@videolan.org>
Tue, 18 Mar 2003 20:38:35 +0000 (20:38 +0000)
committerGildas Bazin <gbazin@videolan.org>
Tue, 18 Mar 2003 20:38:35 +0000 (20:38 +0000)
configure.ac.in

index 13bbbb1..2444eb1 100644 (file)
@@ -2675,7 +2675,7 @@ then
     if test "x${have_slp}" = "xtrue"
     then
       PLUGINS="${PLUGINS} slp"
-      LDFLAGS_slp="${LDFLAGS_slp} -lslp"
+      LDFLAGS_slp="-lslp ${LDFLAGS_slp}"
     fi
   else
     AC_MSG_CHECKING(for slp headers in ${with_slp})
@@ -2684,7 +2684,7 @@ then
       dnl  Use ${with_slp}/libslp/slp.h
       AC_MSG_RESULT(yes)
       PLUGINS="${PLUGINS} slp"
-      LDFLAGS_slp="${LDFLAGS_slp} -L${with_slp} -lslp"
+      LDFLAGS_slp="-L${with_slp} -lslp ${LDFLAGS_slp}"
       CPPFLAGS_slp="${CPPFLAGS_slp} -I${with_slp}"
     else
       dnl  No libslp could be found, sorry