Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-09-28 | ["CC/pkgconfig", "system_library"] Add -rpath | Klaus Aehlig | |
When a shared library is picked up from the host system via pkg-config that is located at a non-standard location, binaries linked against this library by a standard linker either need LD_LIBRARY_PATH set appropriately, or -rpath set at link time. However, not all custom installations set -rpath in the link flags in their pkg-config file. Therefore, in order to get working binaries (and not have to set custom paths in tests), add a -rpath for every -L option found in the ldflags provided by pkg-config. | |||
2023-08-16 | rules: Propagate PATH list from defaults | Oliver Reiche | |
... instead of creating an ENV from it and propagating this. The idea is to keep PATH entries separate and only join them with ":" when we need it. In this way, we can accumulate PATHs from multiple defaults later, and perform a deduplication ("nub_left") to shorten the final string length. | |||
2023-05-30 | rules: Use field_map_provider for default-ENV | Oliver Reiche | |
2023-04-18 | rules: Support creating compile/link flags from pkg-config | Oliver Reiche | |