C library for retrieving compiler/linker flags and other metadata
The libpkg-config
library provides a C API for retrieving C-language family
compiler/linker flags and other metadata from pkg-config
files (.pc
). It's
primarily aimed at build system and other similar tools (see the recommended
usage below).
This library is a fork of libpkgconf
from the pkgconf
project.
The fork was motivated by the poor quality of changes in general (see these
three commits for a representative example: 0253fdd
c613eb5
ab404bc
) and disregard for backwards
compatibility in particular (for example, sr.ht/18). While we have
removed a large amount of non-essential functionality and "innovations" as
well as spend some time fixing and cleaning things up, make no mistake it is
still an over-engineered, inscrutable mess and there likely are bugs in the
corner cases. However, we do use it in build2
, which means at
least the recommended usage patterns (see below) are reasonably well
tested. We hope to continue cleaning things up as time permits but a complete
require is also on the cards (in which case it will most likely become a C++
library).
Builds
toolchain |
public-0.15.0 |
config |
windows_10-clang_13.0_llvm_msvc_16.11_lld / x86_64-microsoft-win32-msvc14.2 |
timestamp |
2023-03-22 03:37:11 UTC (17:38 minutes ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
windows_10-clang_13.0_llvm_msvc_16.11 / x86_64-microsoft-win32-msvc14.2 |
timestamp |
2023-03-22 03:32:49 UTC (22:00 minutes ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
windows_10-clang_13.0_llvm_msvc_16.11-static_O2 / x86_64-microsoft-win32-msvc14.2 |
timestamp |
2023-03-22 03:31:35 UTC (23:14 minutes ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
windows_10-clang_13.0_llvm_msvc_16.11-O2 / x86_64-microsoft-win32-msvc14.2 |
timestamp |
2023-03-22 03:31:23 UTC (23:26 minutes ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
windows_10-clang_14.0_llvm_msvc_17.2_lld / x86_64-microsoft-win32-msvc14.3 |
timestamp |
2023-03-22 03:08:21 UTC (46:28 minutes ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
windows_10-clang_14.0_llvm_msvc_17.2-static_O2 / x86_64-microsoft-win32-msvc14.3 |
timestamp |
2023-03-22 03:07:06 UTC (47:43 minutes ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
windows_10-clang_14.0_llvm_msvc_17.2-O2 / x86_64-microsoft-win32-msvc14.3 |
timestamp |
2023-03-22 03:05:26 UTC (49:23 minutes ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
windows_10-clang_14.0_llvm_msvc_17.2 / x86_64-microsoft-win32-msvc14.3 |
timestamp |
2023-03-22 03:04:06 UTC (50:43 minutes ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
windows_10-gcc_11.2_mingw_w64-O2 / x86_64-w64-mingw32 |
timestamp |
2023-03-21 23:29:24 UTC (04:25:25 hours ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
windows_10-gcc_11.2_mingw_w64-static_O2 / x86_64-w64-mingw32 |
timestamp |
2023-03-21 23:26:53 UTC (04:27:56 hours ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
windows_10-gcc_11.2_mingw_w64 / x86_64-w64-mingw32 |
timestamp |
2023-03-21 23:26:45 UTC (04:28:04 hours ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
windows_10-msvc_16.11 / x86_64-microsoft-win32-msvc14.2 |
timestamp |
2023-03-21 17:33:04 UTC (10:21:45 hours ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
windows_10-msvc_17.2-O2 / x86_64-microsoft-win32-msvc14.3 |
timestamp |
2023-03-21 17:29:43 UTC (10:25:06 hours ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
windows_10-msvc_16.11-static_O2 / x86_64-microsoft-win32-msvc14.2 |
timestamp |
2023-03-21 17:29:20 UTC (10:25:29 hours ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
windows_10-msvc_17.2-static_O2 / x86_64-microsoft-win32-msvc14.3 |
timestamp |
2023-03-21 17:28:04 UTC (10:26:45 hours ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
windows_10-msvc_16.11-O2 / x86_64-microsoft-win32-msvc14.2 |
timestamp |
2023-03-21 17:26:54 UTC (10:27:55 hours ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
windows_10-msvc_17.2 / x86_64-microsoft-win32-msvc14.3 |
timestamp |
2023-03-21 17:26:34 UTC (10:28:15 hours ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
linux_debian_11-gcc_12.1-ndebug_O3 / x86_64-linux-gnu |
timestamp |
2023-03-21 14:59:48 UTC (12:55:01 hours ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
linux_debian_11-gcc_12.1-static_O3 / x86_64-linux-gnu |
timestamp |
2023-03-21 14:58:04 UTC (12:56:45 hours ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
linux_debian_11-gcc_12.1-O3 / x86_64-linux-gnu |
timestamp |
2023-03-21 14:57:20 UTC (12:57:29 hours ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
linux_debian_11-gcc_12.1 / x86_64-linux-gnu |
timestamp |
2023-03-21 14:54:33 UTC (13:00:16 hours ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
freebsd_13-clang_13.0-static_O3 / x86_64-freebsd13.1 |
timestamp |
2023-03-21 14:32:46 UTC (13:22:03 hours ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
freebsd_13-clang_13.0-O3 / x86_64-freebsd13.1 |
timestamp |
2023-03-21 14:31:54 UTC (13:22:55 hours ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
freebsd_13-clang_13.0 / x86_64-freebsd13.1 |
timestamp |
2023-03-21 14:17:18 UTC (13:37:31 hours ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
windows_10_devmode-msvc_16.11 / x86_64-microsoft-win32-msvc14.2 |
timestamp |
2023-03-21 14:14:45 UTC (13:40:04 hours ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
linux_debian_11-clang_13.0_libc++ / x86_64-linux-gnu |
timestamp |
2023-03-21 13:43:11 UTC (14:11:38 hours ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
linux_debian_11-clang_13.0 / x86_64-linux-gnu |
timestamp |
2023-03-21 13:42:47 UTC (14:12:02 hours ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
freebsd_12-clang_10.0 / x86_64-freebsd12.3 |
timestamp |
2023-03-21 13:35:07 UTC (14:19:42 hours ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
linux_debian_11-gcc_11.3 / x86_64-linux-gnu |
timestamp |
2023-03-21 13:08:13 UTC (14:46:36 hours ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
linux_debian_11-clang_14.0_libc++-O3 / x86_64-linux-gnu |
timestamp |
2023-03-21 00:27:19 UTC (01 03:27:30 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
linux_debian_11-clang_14.0_libc++-static_O3 / x86_64-linux-gnu |
timestamp |
2023-03-21 00:21:42 UTC (01 03:33:07 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
linux_debian_11-clang_14.0_libc++ / x86_64-linux-gnu |
timestamp |
2023-03-21 00:20:19 UTC (01 03:34:30 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
linux_debian_11-clang_14.0 / x86_64-linux-gnu |
timestamp |
2023-03-20 22:02:25 UTC (01 05:52:24 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
linux_debian_11-clang_14.0-O3 / x86_64-linux-gnu |
timestamp |
2023-03-20 22:01:26 UTC (01 05:53:23 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
linux_debian_11-clang_14.0-static_O3 / x86_64-linux-gnu |
timestamp |
2023-03-20 20:04:50 UTC (01 07:49:59 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
windows_10-msvc_15.9 / x86_64-microsoft-win32-msvc14.1 |
timestamp |
2023-03-19 13:20:54 UTC (02 14:33:55 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
windows_10-msvc_14.3 / x86_64-microsoft-win32-msvc14.0 |
timestamp |
2023-03-19 13:20:10 UTC (02 14:34:39 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
linux_debian_10-clang_10.0_libc++ / x86_64-linux-gnu |
timestamp |
2023-03-19 13:19:38 UTC (02 14:35:11 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
linux_debian_10-clang_12.0_libc++ / x86_64-linux-gnu |
timestamp |
2023-03-19 13:19:36 UTC (02 14:35:13 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
linux_debian_10-clang_12.0 / x86_64-linux-gnu |
timestamp |
2023-03-19 13:18:52 UTC (02 14:35:57 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
linux_debian_9-clang_8.0_libc++ / x86_64-linux-gnu |
timestamp |
2023-03-19 13:18:25 UTC (02 14:36:24 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
linux_debian_9-clang_7.0_libc++ / x86_64-linux-gnu |
timestamp |
2023-03-19 13:18:19 UTC (02 14:36:30 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
linux_debian_9-clang_6.0_libc++ / x86_64-linux-gnu |
timestamp |
2023-03-19 13:18:08 UTC (02 14:36:41 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
linux_debian_10-clang_11.0_libc++ / x86_64-linux-gnu |
timestamp |
2023-03-19 13:17:54 UTC (02 14:36:55 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
linux_debian_9-clang_8.0 / x86_64-linux-gnu |
timestamp |
2023-03-19 13:17:42 UTC (02 14:37:07 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
linux_debian_9-clang_7.0 / x86_64-linux-gnu |
timestamp |
2023-03-19 13:17:37 UTC (02 14:37:12 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
linux_debian_10-clang_11.0 / x86_64-linux-gnu |
timestamp |
2023-03-19 13:17:11 UTC (02 14:37:38 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
linux_debian_10-clang_10.0 / x86_64-linux-gnu |
timestamp |
2023-03-19 13:17:09 UTC (02 14:37:40 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
linux_debian_10-gcc_9.3 / x86_64-linux-gnu |
timestamp |
2023-03-19 13:16:49 UTC (02 14:38:00 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
linux_debian_9-clang_6.0 / x86_64-linux-gnu |
timestamp |
2023-03-19 13:16:20 UTC (02 14:38:29 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
linux_debian_10-gcc_10.2 / x86_64-linux-gnu |
timestamp |
2023-03-19 13:15:44 UTC (02 14:39:05 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
linux_debian_9-gcc_7.4 / x86_64-linux-gnu |
timestamp |
2023-03-19 13:15:11 UTC (02 14:39:38 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
linux_debian_10-clang_9.0_libc++ / x86_64-linux-gnu |
timestamp |
2023-03-19 13:14:42 UTC (02 14:40:07 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
linux_ubuntu_16.04-clang_3.7_libc++ / x86_64-linux-gnu |
timestamp |
2023-03-19 13:14:39 UTC (02 14:40:10 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
freebsd_11-clang_10.0 / x86_64-freebsd11.4 |
timestamp |
2023-03-19 13:14:23 UTC (02 14:40:26 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
linux_debian_9-gcc_8.4 / x86_64-linux-gnu |
timestamp |
2023-03-19 13:14:22 UTC (02 14:40:27 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
linux_debian_10-clang_9.0 / x86_64-linux-gnu |
timestamp |
2023-03-19 13:13:56 UTC (02 14:40:53 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
linux_debian_8-gcc_4.9 / x86_64-linux-gnu |
timestamp |
2023-03-19 13:13:54 UTC (02 14:40:55 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
macos_11-clang_13.0 / x86_64-apple-darwin20.5.0 |
timestamp |
2023-03-19 07:08:01 UTC (02 20:46:48 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
macos_12-gcc_12.1_homebrew-O3 / x86_64-apple-darwin21.6.0 |
timestamp |
2023-03-19 07:02:10 UTC (02 20:52:39 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
macos_12-gcc_12.1_homebrew / x86_64-apple-darwin21.6.0 |
timestamp |
2023-03-19 06:59:40 UTC (02 20:55:09 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
macos_12-gcc_12.1_homebrew-static_O3 / x86_64-apple-darwin21.6.0 |
timestamp |
2023-03-19 06:58:53 UTC (02 20:55:56 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
macos_12-clang_13.1-static_O3 / x86_64-apple-darwin21.6.0 |
timestamp |
2023-03-19 06:58:22 UTC (02 20:56:27 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
macos_12-clang_13.1-O3 / x86_64-apple-darwin21.6.0 |
timestamp |
2023-03-19 06:56:29 UTC (02 20:58:20 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.15.0 |
config |
macos_12-clang_13.1 / x86_64-apple-darwin21.6.0 |
timestamp |
2023-03-19 06:55:53 UTC (02 20:58:56 days ago) |
result |
success | log | rebuild |