<feed xmlns='http://www.w3.org/2005/Atom'>
<title>xenia/tools/build/scripts/pkg_config.lua, branch master</title>
<subtitle>Xbox 360 emulator</subtitle>
<link rel='alternate' type='text/html' href='https://git.dog6.net/xenia/'/>
<entry>
<title>Add descriptive error message when pkg-config fails</title>
<updated>2022-04-05T05:11:54+00:00</updated>
<author>
<name>Alex Messier</name>
<email>alex@me.ssier.org</email>
</author>
<published>2022-02-23T04:12:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/xenia/commit/?id=53320d7ef26752942d20fcf780003b5930d10661'/>
<id>53320d7ef26752942d20fcf780003b5930d10661</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>[Linux] Fix pkg-config trailing space causing premake to output an extra empty library -l</title>
<updated>2021-07-21T14:40:20+00:00</updated>
<author>
<name>Jonathan Goyvaerts</name>
<email>jonathan.goyvaerts@gmail.com</email>
</author>
<published>2021-07-21T14:32:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/xenia/commit/?id=48bb93a9cacccae7f975e174fda658abc6148bf2'/>
<id>48bb93a9cacccae7f975e174fda658abc6148bf2</id>
<content type='text'>
Fixes #1868
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #1868
</pre>
</div>
</content>
</entry>
<entry>
<title>[Build] Run pkg_config only on Linux, not all non-Windows</title>
<updated>2021-07-20T17:16:39+00:00</updated>
<author>
<name>Triang3l</name>
<email>triang3l@yandex.ru</email>
</author>
<published>2021-07-20T17:16:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/xenia/commit/?id=a7efdd9ed80f98b98212ea18a9ca6993126d8b29'/>
<id>a7efdd9ed80f98b98212ea18a9ca6993126d8b29</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[Linux] Helper methods for pkg-config</title>
<updated>2021-06-03T03:28:43+00:00</updated>
<author>
<name>Joel Linn</name>
<email>jl@conductive.de</email>
</author>
<published>2021-05-21T23:44:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/xenia/commit/?id=8f44a141314c68cba689dea3186791bfffbc009e'/>
<id>8f44a141314c68cba689dea3186791bfffbc009e</id>
<content type='text'>
- Fixes linking on GCC by putting libs in link group
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Fixes linking on GCC by putting libs in link group
</pre>
</div>
</content>
</entry>
</feed>
