You should change your makefiles to use pkg-config
gcc foo.c `pkg-config --libs --cflags lua5.1`
Cheers
You should change your makefiles to use pkg-config
gcc foo.c `pkg-config --libs --cflags lua5.1`
Cheers