diff --git a/lua/Makefile.am b/lua/Makefile.am index 583249c0..1abd560c 100644 --- a/lua/Makefile.am +++ b/lua/Makefile.am @@ -48,7 +48,7 @@ if BUILD_LUA_IMLIB2 libimlib2 = libimlib2.la -libimlib2_la_CFLAGS = $(Imlib2_CFLAGS) $(tolua_LIBS) +libimlib2_la_CFLAGS = $(Imlib2_CFLAGS) $(tolua_CFLAGS) libimlib2_la_LIBADD = $(Imlib2_LIBS) $(tolua_LIBS) libimlib2.c: imlib2.pkg