Cross-Porting Software: Difference between revisions

m
Fix badly closed <tt>
[unchecked revision][unchecked revision]
m (Fix badly closed <tt>)
m (Fix badly closed <tt>)
Line 108:
=== Dumb pkg-config use ===
 
Some packages simply invoke pkg-config with the raw <tt>pkg-config</tt> command, rather than using the <tt>PKG_CONFIG</tt> and <tt>PKG_CONFIG_FOR_BUILD</tt> variables. That is a bug. The correct logic is to use the variables if they exist and fall back on the raw command otherwise. The shell expression <tt>${PKG_CONFIG:=pkg-config}</tt> is useful as if it is set and non-empty, then it is used, otherwise pkg-config us used.
 
=== foo-config ===
Anonymous user