aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/pkgconfig.cxx
AgeCommit message (Collapse)AuthorFilesLines
2020-04-13Add ../share/pkgconfig/ search directory by default on LinuxBoris Kolpackov1-9/+19
2020-03-20Generate common .pc file in addition to static/staged when installing lib{}Boris Kolpackov1-9/+27
The common .pc file is produced by ignoring any static/shared-specific poptions and splitting loptions/libs into Libs/Libs.private. It is "best effort", in a sense that it's not guaranteed to be sufficient in all cases, but it will probably cover the majority of cases, even on Windows, thanks to automatic dllimport'ing of functions.
2020-02-27Minor code clanupBoris Kolpackov1-5/+4
2020-02-27Fix .pc files-based static linkage failing on macosKaren Arutyunov1-0/+9
Note that this is achieved by using the PKGCONF_PKG_PKGF_DONT_MERGE_SPECIAL_FRAGMENTS that we invented in the libpkgconf library.
2020-02-07Drop copyright notice from source codeKaren Arutyunov1-1/+0
2020-02-06Add -l<name> resolution exclusions for Windows Platform SDK librariesBoris Kolpackov1-29/+77
2020-02-04Add note to manual on specifying search paths in compiler modeBoris Kolpackov1-1/+3
2020-02-03Exclude -lexecinfo from resolutionBoris Kolpackov1-0/+5
2020-01-31Propagate installed library out (tag) when converting to nameBoris Kolpackov1-4/+11
2020-01-31Use -l representation of library names in pkg-config files for MSVCBoris Kolpackov1-5/+38
Passing it as foo.lib triggers some (brain-dead) fragmentation logic in libpkgconf. Also, a C library built with MSVC can be used in MinGW (and vice versa) and so this is also a step in supporting that.
2020-01-27Minor cleanupBoris Kolpackov1-15/+1
2019-11-29Reorder {cc,c/cxx}.{poptions,loptions}Boris Kolpackov1-1/+1
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).
2019-11-07Initial work on path_name use for `-` to stdin/stdout translationBoris Kolpackov1-1/+1
2019-10-08Extend /LIBPATH handling to win32-msvc target systemBoris Kolpackov1-1/+1
2019-08-28Move cc build system module to separate libraryKaren Arutyunov1-0/+1550