From be464b7496f5d02718ae0cb2f884b3bf3d19f3e6 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 23 Jul 2020 17:57:14 +0300 Subject: Escape quotes in .pc file values besides spaces and backslashes --- libbuild2/cc/pkgconfig.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.1