/usr/lib/x86_64-linux-gnu/pkgconfig/lua5.1.pc is in liblua5.1-0-dev 5.1.4-12ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | prefix=/usr
major_version=5.1
version=5.1.4
lib_name_include=lua5.1
deb_host_multiarch=x86_64-linux-gnu
#prefix=/usr
#major_version=5.1
#version=5.1.0
#deb_host_multiarch=x86_64-linux-gnu
lib_name=lua${major_version}
libdir=${prefix}/lib
includedir=${prefix}/include
#
# The following are intended to be used via "pkg-config --variable".
# Install paths for Lua modules. For example, if a package wants to install
# Lua source modules to the /usr/local tree, call pkg-config with
# "--define-variable=prefix=/usr/local" and "--variable=INSTALL_LMOD".
INSTALL_LMOD=${prefix}/share/lua/${major_version}
INSTALL_CMOD=${prefix}/lib/${deb_host_multiarch}/lua/${major_version}
Name: Lua
Description: Lua language engine
Version: ${version}
Requires:
Libs: -L${libdir} -l${lib_name}
Libs.private: -lm -ldl
Cflags: -I${includedir}/${lib_name_include}
|