~skeeto/public-inbox

1

[PATCH][u-config] fix output of pc_path and friends

Details
Message ID
<vghvbs6az5mflgdydhdcroraebky53fwum6ihaxxmhndmo3ybo@fz47zqcich5w>
Sender timestamp
1740637907
DKIM signature
pass
Download raw message
Attached two patches fixing the output of pc_path, pc_system_includedirs
& pc_system_libdirs. They are supposed to output the compile time path,
and not change based on runtime config. More detailed information
available on the commit messages.

N.B: the win32 changes are entirely untested.

- NRK
Details
Message ID
<20250227221521.t3vbmmwgedxcakgz@nullprogram.com>
In-Reply-To
<vghvbs6az5mflgdydhdcroraebky53fwum6ihaxxmhndmo3ybo@fz47zqcich5w> (view parent)
Sender timestamp
1740676521
DKIM signature
missing
Download raw message
All merged, thanks, NRK!

Before looking, I was concerned your changes would set pc_path to a static 
string on Windows as well, but you correctly kept the pkg-config.exe path 
as the "compiled-in" string, which is the appropriate, analogous behavior. 
In its original context, pkg-config, and the toolchain sysroot in general, 
are not designed to be relocatable, unlike a "portable" Win32 application. 
(Kind of a shame, because it would be useful if I could install, say, .deb 
packages into "$HOME/.local/" as a regular user.)
Reply to thread Export thread (mbox)