pkg-config/check/pkgconfig/empty-prefix.pc
Dan Nicholson bbbdab4c60 Don't override empty prefix setting
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
2016-08-30 09:41:54 -07:00

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}