summaryrefslogtreecommitdiff
path: root/tools/build/scripts/pkg_config.lua
AgeCommit message (Collapse)Author
2022-04-05Add descriptive error message when pkg-config failsAlex Messier
The pkg_config helper for premake was not checking for errors. When it failed to run, either when it is not installed or the queried package is not found, a cryptic error message would be printed: "Error: .../xenia/third_party/premake-core/src/base/string.lua:36: attempt to index a nil value (upvalue 's')" Fix this by checking the return status when calling pkg-config and printing a descriptive error message.
2021-07-21[Linux] Fix pkg-config trailing space causing premake to output an extra ↵Jonathan Goyvaerts
empty library -l Fixes #1868
2021-07-20[Build] Run pkg_config only on Linux, not all non-WindowsTriang3l
2021-06-02[Linux] Helper methods for pkg-configJoel Linn
- Fixes linking on GCC by putting libs in link group