diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-08-29 18:29:23 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-08-29 18:29:23 +0200 |
commit | 47e89b188ac71627f43e0bb8c47ffe08f6c1b919 (patch) | |
tree | 76e4c347a30bc731e0783ae626c9b78e8f303147 | |
parent | 94cf1316f00522ab9ae056c1ce9890d0efee6ebe (diff) |
Fix incorrect process argv[0] values
-rw-r--r-- | build2/cc/pkgconfig.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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), |