aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/pkgconfig.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-07-23 17:57:14 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-07-23 17:57:14 +0300
commitbe464b7496f5d02718ae0cb2f884b3bf3d19f3e6 (patch)
tree5656f75c37d225ca031e0a0ef2b6b9663d02717b /libbuild2/cc/pkgconfig.cxx
parent67fa594c3059729a405d5ce5ad0dc298fddcddc0 (diff)
Escape quotes in .pc file values besides spaces and backslashes
Diffstat (limited to 'libbuild2/cc/pkgconfig.cxx')
-rw-r--r--libbuild2/cc/pkgconfig.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/cc/pkgconfig.cxx b/libbuild2/cc/pkgconfig.cxx
index 35948de..7e74c24 100644
--- a/libbuild2/cc/pkgconfig.cxx
+++ b/libbuild2/cc/pkgconfig.cxx
@@ -462,7 +462,7 @@ namespace build2
for (size_t p (0);;)
{
- size_t sp (s.find_first_of ("\\ ", p));
+ size_t sp (s.find_first_of (" \\\"'", p));
if (sp != string::npos)
{