pkg-config/check/flag-dup-2.pc
Dan Nicholson f5b93bf1b1 Test stripping of duplicate flags
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.
2012-11-28 05:52:13 -08:00

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