Closed momorientes closed 10 years ago
I guess, it is easier to have a proper automake to find right location of include path.
2aef4f19d8 might help a little bit. I'm currently avoiding automake & co, since I feel they bloat the build process too much.
I tried it on arch, but had to do:
-LUA_LUAC ?= luac
+LUA_LUAC ?= luac5.1
in Makefile as lua5.2 is the default luac on arch.
LUA_LDFLAGS ?= -L/usr/lib -llua5.1 is raising a compilation error on arch linux using lua 5.1.5:
collect2: error: ld returned 1 exit status make: *\ [info-beamer] Error 1
The workaround therefore is to edit the Makefile to LUA_LDFLAGS ?= -L/usr/lib -llua