summaryrefslogtreecommitdiffstats
path: root/scripts/completion
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2019-02-11 17:19:26 +0100
committerAllan McRae <allan@archlinux.org>2019-02-12 12:58:19 +0100
commit477a66cd0e7a1b8f5fb7d3b79d977da2771ee09a (patch)
tree2d6c262ff83b1475b8cf792052aba428eb5f9b70 /scripts/completion
parent86004227d14bef059f71290b3c0454ad88ea0f86 (diff)
downloadpacman-477a66cd0e7a1b8f5fb7d3b79d977da2771ee09a.tar.gz
pacman-477a66cd0e7a1b8f5fb7d3b79d977da2771ee09a.tar.xz
build: link vercmp with a static copy of libalpm
This has historically been the case in autotools since we want vercmp to not break mid-transaction in an install script. For convenience, we create libalpm.a and use this to optionally generate libalpm.so (when not configured with -Dbuildstatic=true) as well as to link any binary which explicitly wishes to be built statically "with libalpm", but does not care where a function is defined. meson then treats this correctly: it builds the object file only once for both libraries, and the compiler strips out unused functionality from the final static binary. Currently the only binary which requires this is vercmp. Fixes FS#61719 Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/completion')
0 files changed, 0 insertions, 0 deletions