mirror of
https://gitlab.freedesktop.org/pkg-config/pkg-config.git
synced 2026-02-04 10:40:49 +01:00
Exercise the ${pcfiledir} and --define-prefix features for allowing
relocation of packages. The --define-prefix test .pc files are put in a
pkgconfig subdirectory since the feature will only be enabled in that
situation.
11 lines
251 B
PkgConfig
11 lines
251 B
PkgConfig
prefix=/reloc
|
|
exec_prefix=${prefix}
|
|
libdir=${exec_prefix}/lib
|
|
includedir=${prefix}/include
|
|
|
|
Name: Prefix redefinition test
|
|
Description: Test pkg-config magic prefix redefinition
|
|
Version: 1.0.0
|
|
Requires:
|
|
Libs: -L${libdir} -lfoo
|
|
Cflags: -I${includedir}
|