From 47e89b188ac71627f43e0bb8c47ffe08f6c1b919 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 29 Aug 2016 18:29:23 +0200 Subject: Fix incorrect process argv[0] values --- build2/cc/pkgconfig.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build2/cc/pkgconfig.cxx b/build2/cc/pkgconfig.cxx index b22a84f..b9c6cda 100644 --- a/build2/cc/pkgconfig.cxx +++ b/build2/cc/pkgconfig.cxx @@ -105,7 +105,7 @@ namespace build2 auto extract = [&f, this] (const char* op, bool impl) -> string { const char* args[] = { - pkgconfig->initial, + pkgconfig->recall_string (), op, // --cflags/--libs (impl ? "--static" : f.string ().c_str ()), (impl ? f.string ().c_str () : nullptr), -- cgit v1.1