| U-CONFIG(1) | General Commands Manual | U-CONFIG(1) |
u-config —
smaller, simpler, portable pkg-config clone
u-config |
[options] package [package ...] |
u-config is a small, highly portable
pkg-config and pkgconf clone. It retrieves compiler and linker flags,
version, and other dependency information of software packages.
Package metadata is retrieved from “.pc” text files,
located in a system-specific path. You can override the default search path
with environment variables like PKG_CONFIG_PATH. See
ENVIRONMENT for more information.
This manual page describes the u-config
utility in particular. For general information about pkg-config concepts and
its file format, refer to manual pages provided by other projects, like
pkgconf(1) and pc(5).
u-config supports a subset of the options
of other pkg-config implementations. For a list of supported options, use
the --help option. Some of them are unique to
u-config:
--newlines--msvc-syntax-l
libname becomes
libname.lib.u-config supports all the important
pkg-config run-time environment variables. To see which are supported, use
the --help option.
$ u-config --cflags --libs foo -I/usr/include/foo -DFOO_HAS_BAR=1 -lfoo
u-config was written by
Chris Wellons
<wellons@nullprogram.com>.
This manual page was written by
Andrea Pappacoda
<andrea@pappacoda.it>
for the Debian project (and may be used by others).
| 2024-08-22 | Debian |