]> git.sesse.net Git - vlc/commitdiff
Fix kate linking, use LIBS rather than LDFLAGS
authorRémi Denis-Courmont <remi@remlab.net>
Thu, 18 Aug 2011 18:22:45 +0000 (21:22 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 18 Aug 2011 18:22:45 +0000 (21:22 +0300)
configure.ac

index fbac38730a13f61a7e40a303ccf739f8002352cd..ee22c7d26fecde7d6c39ebb3b7c8a21800e1c19d 100644 (file)
@@ -3060,8 +3060,7 @@ AS_IF([test "${enable_kate}" != "no"], [
         AC_CHECK_HEADERS(kate/kate.h, [
           AC_CHECK_LIB(kate, kate_decode_init, [
             VLC_ADD_PLUGIN([kate])
-            kate_libs="-lkate -logg"
-            VLC_ADD_LDFLAGS([kate],[${kate_libs}]) ],[
+            VLC_ADD_LIBS([kate],[-lkate -logg]) ],[
             AS_IF([test "x${enable_kate}" != "x"], [
               AC_MSG_ERROR([libkate doesn't appear to be installed on your system.
               You also need to check that you have a libogg posterior to the 1.0 release.])