mirror of
https://gitlab.freedesktop.org/pkg-config/pkg-config.git
synced 2026-05-02 15:28:00 +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.
11 lines
370 B
PkgConfig
11 lines
370 B
PkgConfig
prefix=/path
|
|
exec_prefix=${prefix}
|
|
libdir="${exec_prefix}/lib"
|
|
includedir="${prefix}/include"
|
|
|
|
Name: Flag duplicate test 2
|
|
Description: Test package for checking stripping of duplicate flags
|
|
Version: 1.0.0
|
|
Libs: -L${libdir} -lpath2 -Wl,--whole-archive -lm --Wl,--no-whole-archive -Xlinker -R -Xlinker ${libdir}
|
|
Cflags: -I${includedir} -DPATH2 -DFOO
|
|
Requires: flag-dup-1
|