Commits on Source (2)
-
If $PREFIX/lib/pkgconfig/ directory already not created, lua puts lua.pc as $PREFIX/lib/pkgconfig file. Therefore $PREFIX/lib/pkgconfig cannot be created or used by any other contrib tools. This causes various other tools that need to put pkgconfig in that directory (including lua itself) fail to finish the building process. Fix this by creating a pkgconfig directory if it does not exist before lua build tries to copy pkgconfig there.
3523bd1a -
Currently, when creating lua.pc, unwanted strings are added into the file, for example, inspecting a lua.pc file from $PREFIX/lib/pkgconfig/lua.pc gives: make[2]: Entering directory 'foo/bar' <intended lua.pc content here> make[2]: Leaving directory 'foo/bar' Mitigate this by using --no-print-directory flag when running the internal make command from its Makefile.
0346060d