lua: fix .pc file and rename importlib to just liblua

The pc target in the make file is bogus, use the template from Arch
(or parts of it). And don't include the version in the import lib
to keep things simple.
This commit is contained in:
Christoph Reiter
2024-09-30 20:33:51 +02:00
parent 1e524f750b
commit 9ff49b6cae
2 changed files with 26 additions and 10 deletions

14
lua/lua.pc Normal file
View File

@@ -0,0 +1,14 @@
V=%VER%
R=%REL%
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: Lua
Description: An Extensible Extension Language
Version: ${R}
Requires:
Libs: -L${libdir} -llua
Cflags: -I${includedir}