mirror of
https://gitlab.freedesktop.org/pkg-config/pkg-config.git
synced 2026-05-09 09:28:10 +02:00
pkg-config aggressively strips all duplicate arguments from the final output it builds. This is not only and optimization, but it also allows the flag ordering to work correctly when a package on the command line is required by another on the command line.
10 lines
349 B
PkgConfig
10 lines
349 B
PkgConfig
prefix=/path
|
|
exec_prefix=${prefix}
|
|
libdir="${exec_prefix}/lib"
|
|
includedir="${prefix}/include"
|
|
|
|
Name: Flag duplicate test 1
|
|
Description: Test package for checking stripping of duplicate flags
|
|
Version: 1.0.0
|
|
Libs: -L${libdir} -lpath1 -Wl,--whole-archive -lm --Wl,--no-whole-archive -Xlinker -R -Xlinker ${libdir}
|
|
Cflags: -I${includedir} -DPATH1 -DFOO
|