[vlc-commits] Fix kate linking, use LIBS rather than LDFLAGS

Rémi Denis-Courmont git at videolan.org
Thu Aug 18 20:30:40 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Aug 18 21:22:45 2011 +0300| [26fedd015c686465d44c189d64b6b2bc817e12ef] | committer: Rémi Denis-Courmont

Fix kate linking, use LIBS rather than LDFLAGS

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=26fedd015c686465d44c189d64b6b2bc817e12ef
---

 configure.ac |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index fbac387..ee22c7d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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.])



More information about the vlc-commits mailing list