Skip to content

v1.0.2601-master

Choose a tag to compare

@xenia-ci xenia-ci released this 05 Apr 05:35
cba4ca0

Windows release build for xenia-project/xenia@53320d7.

Add descriptive error message when pkg-config fails

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.