diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2020-07-23 17:57:14 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2020-07-23 17:57:14 +0300 |
commit | be464b7496f5d02718ae0cb2f884b3bf3d19f3e6 (patch) | |
tree | 5656f75c37d225ca031e0a0ef2b6b9663d02717b /libbuild2/cc/pkgconfig.cxx | |
parent | 67fa594c3059729a405d5ce5ad0dc298fddcddc0 (diff) |
Escape quotes in .pc file values besides spaces and backslashes
Diffstat (limited to 'libbuild2/cc/pkgconfig.cxx')
-rw-r--r-- | libbuild2/cc/pkgconfig.cxx | 2 |
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) { |