Isaac Freund 38d6e1d8a8 std.build: Fix transitive linkSystemLibraryName() dependencies
Currently transitive system library dependencies are always linked using
linkSystemLibrary() and therefore pkg-config even if they were
originally specified with linkSystemLibraryName() instead. This causes
problems in practice for projects needing total control over exactly
what library is linked, such as the mach game engine.

This is fixed by keeping track of whether libraries are to be linked
with pkg-config or not and holding off on actually running pkg-config
until after transitive dependency resolution in LibExeObjStep.make().

This also fixes a separate issue with the pkg-config handling that could
cause partial application of pkg-config flags if the first part of the
pkg-config output parses correctly but there is an error later on. This
error isn't always fatal as we fall back to a plain -lfoo in the case of
linkSystemLibrary().
2022-04-12 06:12:44 -04:00
..
2022-04-12 05:32:45 -04:00
2022-03-08 20:38:12 +02:00
2022-03-08 20:38:12 +02:00
2022-03-23 16:31:03 -04:00
2022-03-08 20:38:12 +02:00
2022-01-07 00:06:06 -05:00
2022-03-27 11:28:44 +03:00
2022-01-07 00:06:06 -05:00