mirror of
https://gitlab.freedesktop.org/pkg-config/pkg-config.git
synced 2026-02-04 21:10:29 +01:00
The current tests are good at checking whether gathering the Cflags or Libs from one or two packages works correctly, but they don't check the sorting algorithm much at all. In particular, the interactions between the package order in the Requires chain and in the path can make the sorting of the flags subtly different.
11 lines
298 B
PkgConfig
11 lines
298 B
PkgConfig
prefix=/path2
|
|
exec_prefix=${prefix}
|
|
libdir="${exec_prefix}/lib"
|
|
includedir="${prefix}/include"
|
|
|
|
Name: Sort order Cflags and Libs test 2-3
|
|
Description: Test package for testing flag sort order
|
|
Version: 1.0.0
|
|
Libs: -L${libdir} -Wl,-O2 -lpath2
|
|
Cflags: -I${includedir} -DPATH2
|
|
Requires: sort-order-3-3
|