[pacman-dev] [PATCH 2/2] pacman: ensure linkage against libarchive

Allan McRae allan at archlinux.org
Tue Jan 3 05:15:21 UTC 2017


On 11/12/16 11:12, Dave Reisner wrote:
> Fixes build on ubuntu/debian platforms.
> ---

OK.

I wonder what is different across platforms that breaks this...


>  src/pacman/Makefile.am | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/src/pacman/Makefile.am b/src/pacman/Makefile.am
> index 14572cd..8999f2b 100644
> --- a/src/pacman/Makefile.am
> +++ b/src/pacman/Makefile.am
> @@ -47,6 +47,9 @@ pacman_SOURCES = \
>  	util.h util.c \
>  	util-common.h util-common.c
>  
> -LDADD = $(LTLIBINTL) $(top_builddir)/lib/libalpm/.libs/libalpm.la
> +pacman_LDADD = \
> +	$(LTLIBINTL) \
> +	$(top_builddir)/lib/libalpm/.libs/libalpm.la \
> +	$(LIBARCHIVE_LIBS)
>  
>  # vim:set noet:
> 


More information about the pacman-dev mailing list