summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcheck/check-cflags4
-rwxr-xr-xcheck/check-libs3
-rw-r--r--check/fields-blank.pc11
3 files changed, 18 insertions, 0 deletions
diff --git a/check/check-cflags b/check/check-cflags
index 9d517c8..eb2d6bc 100755
--- a/check/check-cflags
+++ b/check/check-cflags
@@ -11,5 +11,9 @@ set -e
ARGS="--cflags simple"
RESULT=""
+run_test
+ARGS="--cflags fields-blank"
+RESULT=""
run_test
+
diff --git a/check/check-libs b/check/check-libs
index d124970..9b1b495 100755
--- a/check/check-libs
+++ b/check/check-libs
@@ -15,5 +15,8 @@ if [ "$list_indirect_deps" = "yes" ]; then
else
RESULT="-lsimple"
fi
+run_test
+ARGS="--libs fields-blank"
+RESULT=""
run_test
diff --git a/check/fields-blank.pc b/check/fields-blank.pc
new file mode 100644
index 0000000..f56c810
--- /dev/null
+++ b/check/fields-blank.pc
@@ -0,0 +1,11 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: Simple test
+Description: Dummy pkgconfig test package for testing pkgconfig
+Version: 1.0.0
+Requires:
+Libs:
+Cflags: