From: RĂ©mi Denis-Courmont Date: Thu, 18 Aug 2011 18:22:45 +0000 (+0300) Subject: Fix kate linking, use LIBS rather than LDFLAGS X-Git-Tag: 1.2.0-pre1~1158 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=26fedd015c686465d44c189d64b6b2bc817e12ef;p=vlc Fix kate linking, use LIBS rather than LDFLAGS --- diff --git a/configure.ac b/configure.ac index fbac38730a..ee22c7d26f 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.])