mirror of
https://gitlab.freedesktop.org/pkg-config/pkg-config.git
synced 2026-02-04 16:30:26 +01:00
If the original prefix setting is empty, skip prepending the redefined prefix to other variables. This works the same as if the pc file doesn't have a prefix variable at all. https://bugs.freedesktop.org/show_bug.cgi?id=97453-empty
10 lines
226 B
PkgConfig
10 lines
226 B
PkgConfig
prefix=
|
|
libdir=/some/path/lib
|
|
includedir=/some/path/include
|
|
|
|
Name: Empty prefix redefinition test
|
|
Description: Test pkg-config empty prefix redefinition
|
|
Version: 1.0.0
|
|
Requires:
|
|
Libs: -L${libdir} -lfoo
|
|
Cflags: -I${includedir}
|