mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-20 03:51:18 +00:00
Fix Lua extra compiler includes.
This commit is contained in:
parent
a571be6b85
commit
1a86405cd9
@ -484,11 +484,16 @@ if test x$want_lua = xyes; then
|
|||||||
else
|
else
|
||||||
AC_SEARCH_LIBS(tolua_error,
|
AC_SEARCH_LIBS(tolua_error,
|
||||||
[tolua++ tolua++5.1],
|
[tolua++ tolua++5.1],
|
||||||
AC_SUBST(tolua_LIBS,"${LIBS}"),
|
[
|
||||||
|
AC_SUBST(tolua_LIBS, "${LIBS}")
|
||||||
|
AC_SUBST(tolua_CFLAGS, "${CFLAGS}")
|
||||||
|
],
|
||||||
AC_MSG_ERROR([tolua_error not found]),
|
AC_MSG_ERROR([tolua_error not found]),
|
||||||
$LUA51_LIBS)
|
$LUA51_LIBS)
|
||||||
fi
|
fi
|
||||||
conky_LIBS="$conky_LIBS $tolua_LIBS"
|
conky_LIBS="$conky_LIBS $tolua_LIBS"
|
||||||
|
tolua_CFLAGS="$tolua_CFLAGS $LUA_CFLAGS $LUA51_CFLAGS"
|
||||||
|
tolua_LIBS="$tolua_LIBS $LUA_LIBS $LUA51_LIBS"
|
||||||
fi
|
fi
|
||||||
AC_DEFINE(HAVE_LUA, 1, [Define if you want Lua scripting support])
|
AC_DEFINE(HAVE_LUA, 1, [Define if you want Lua scripting support])
|
||||||
fi
|
fi
|
||||||
|
@ -34,7 +34,7 @@ if BUILD_LUA_CAIRO
|
|||||||
|
|
||||||
libcairo = libcairo.la
|
libcairo = libcairo.la
|
||||||
|
|
||||||
libcairo_la_CFLAGS = $(cairo_CFLAGS) $(cairo_xlib_CFLAGS) -I$(prefix)/include/lua5.1
|
libcairo_la_CFLAGS = $(cairo_CFLAGS) $(cairo_xlib_CFLAGS) $(tolua_CFLAGS)
|
||||||
libcairo_la_LIBADD = $(cairo_LIBS) $(cairo_xlib_LIBS) $(tolua_LIBS)
|
libcairo_la_LIBADD = $(cairo_LIBS) $(cairo_xlib_LIBS) $(tolua_LIBS)
|
||||||
|
|
||||||
libcairo.c: cairo.pkg
|
libcairo.c: cairo.pkg
|
||||||
@ -46,7 +46,7 @@ if BUILD_LUA_IMLIB2
|
|||||||
|
|
||||||
libimlib2 = libimlib2.la
|
libimlib2 = libimlib2.la
|
||||||
|
|
||||||
libimlib2_la_CFLAGS = $(Imlib2_CFLAGS) -I$(prefix)/include/lua5.1
|
libimlib2_la_CFLAGS = $(Imlib2_CFLAGS) $(tolua_LIBS)
|
||||||
libimlib2_la_LIBADD = $(Imlib2_LIBS) $(tolua_LIBS)
|
libimlib2_la_LIBADD = $(Imlib2_LIBS) $(tolua_LIBS)
|
||||||
|
|
||||||
libimlib2.c: imlib2.pkg
|
libimlib2.c: imlib2.pkg
|
||||||
|
Loading…
Reference in New Issue
Block a user