[pacman-dev] [PATCH] build: link vercmp staticly with libalpm

2019-02-11 Thread Dave Reisner
This makes the meson-built vercmp equivalent to the autotools build. Employ an intermediate archive of libalpm which our generic library rule can slurp in. Other alpm-only binaries (specifically we care about vercmp) can then link this in for alpm functionality without caring exactly where the fun

Re: [pacman-dev] [PATCH] build: link vercmp staticly with libalpm

2019-02-11 Thread Dave Reisner
On Mon, Feb 11, 2019 at 08:12:51AM -0500, Dave Reisner wrote: > This makes the meson-built vercmp equivalent to the autotools build. > > Employ an intermediate archive of libalpm which our generic library rule > can slurp in. Other alpm-only binaries (specifically we care about > vercmp) can then

[pacman-dev] [PATCH] build: link vercmp with a static copy of libalpm

2019-02-11 Thread Eli Schwartz
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

Re: [pacman-dev] [PATCH] build: link vercmp staticly with libalpm

2019-02-11 Thread Eli Schwartz
On 2/11/19 9:45 AM, Dave Reisner wrote: > On Mon, Feb 11, 2019 at 08:12:51AM -0500, Dave Reisner wrote: >> This makes the meson-built vercmp equivalent to the autotools build. >> >> Employ an intermediate archive of libalpm which our generic library rule >> can slurp in. Other alpm-only binaries (s

[pacman-dev] [PATCH] Add implicit fall through warning

2019-02-11 Thread Allan McRae
Requires modification to our comment about fall through to match compilers expectations. Works for GCC and Clang. Signed-off-by: Allan McRae --- configure.ac| 1 + meson.build | 1 + src/pacman/pacman.c | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/config