summaryrefslogtreecommitdiff
path: root/check/whitespace.pc
diff options
context:
space:
mode:
authorTollef Fog Heen <tfheen@err.no>2010-05-23 22:59:46 +0200
committerTollef Fog Heen <tfheen@err.no>2010-05-23 23:11:40 +0200
commit69a7eaa6763bb0920e2b539fffbad51348d94deb (patch)
tree6b76512cc576bcca54ec278078321e597498bf43 /check/whitespace.pc
parent5ade770f7698818db01626c6b3b28d0f0bec6ad1 (diff)
downloadpkg-config-69a7eaa6763bb0920e2b539fffbad51348d94deb.tar.gz
Make it possible to escape paths containing special shell characters
Allow paths and other components to contain shell metacharacters, but escape them on output. White space has to be escaped in the input files using quotes or backslashes Freedesktop.org #3571
Diffstat (limited to 'check/whitespace.pc')
-rw-r--r--check/whitespace.pc11
1 files changed, 11 insertions, 0 deletions
diff --git a/check/whitespace.pc b/check/whitespace.pc
new file mode 100644
index 0000000..e9d8488
--- /dev/null
+++ b/check/whitespace.pc
@@ -0,0 +1,11 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir="${exec_prefix}/white space/lib"
+includedir="${prefix}/white space/include"
+
+Name: Whitespace test
+Description: Dummy pkgconfig test package for testing pkgconfig
+Version: 1.0.0
+Requires:
+Libs: -L${libdir} -lfoo\ bar "-lbar baz"
+Cflags: -I${includedir} -Iinclude\ dir "-Iother include dir"