forked from ariadne/pkgconf
pkg: we already behave like pkg-config 0.27 anyway
parent
840ecc846d
commit
475719ec3a
4
pkg.h
4
pkg.h
|
@ -23,8 +23,8 @@
|
||||||
#define BUFSIZ 65535
|
#define BUFSIZ 65535
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* we are compatible with 0.26 of pkg-config */
|
/* we are compatible with 0.27 of pkg-config */
|
||||||
#define PKG_PKGCONFIG_VERSION_EQUIV "0.26"
|
#define PKG_PKGCONFIG_VERSION_EQUIV "0.27"
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
PKG_ANY = 0,
|
PKG_ANY = 0,
|
||||||
|
|
|
@ -92,7 +92,7 @@ run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --variable=includedir foo" \
|
||||||
|
|
||||||
# 6) tests for builtins
|
# 6) tests for builtins
|
||||||
run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --modversion pkg-config" \
|
run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --modversion pkg-config" \
|
||||||
'0.26'
|
'0.27'
|
||||||
run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --variable=prefix foo" \
|
run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --variable=prefix foo" \
|
||||||
'/usr'
|
'/usr'
|
||||||
run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --define-variable=prefix=/test --variable=prefix foo" \
|
run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --define-variable=prefix=/test --variable=prefix foo" \
|
||||||
|
|
Loading…
Reference in New Issue