Commit 26fedd01 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

Fix kate linking, use LIBS rather than LDFLAGS

parent 4dd6cf74
......@@ -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.])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment