From bdbb7e2535009b2a142567a2235ac0a71352c749 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 29 Nov 2019 13:59:20 +0200 Subject: Reorder {cc,c/cxx}.{poptions,loptions} Now it is c/cxx first followed by cc which is the reverse order of coptions since the header/library search paths are examined in the order specified (in contrast to the "last value wins" semantics that we assume for coptions). --- libbuild2/cc/pkgconfig.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbuild2/cc/pkgconfig.cxx') diff --git a/libbuild2/cc/pkgconfig.cxx b/libbuild2/cc/pkgconfig.cxx index 56acafc..6fcf711 100644 --- a/libbuild2/cc/pkgconfig.cxx +++ b/libbuild2/cc/pkgconfig.cxx @@ -1358,8 +1358,8 @@ namespace build2 // os << "Cflags:"; os << " -I" << escape (idir.string ()); - save_poptions (c_export_poptions); save_poptions (x_export_poptions); + save_poptions (c_export_poptions); os << endl; // Libs. -- cgit v1.1