[pacman-dev] [PATCH] src/util: link vercmp against .lo, not the .o

Dan McGee dpmcgee at gmail.com
Tue Nov 1 11:31:37 EDT 2011


On Sun, Oct 30, 2011 at 9:14 AM, Dave Reisner <d at falconindy.com> wrote:
> This seems to fix FS#26652.
Works for me too, thanks. Applied to maint.

>
> Signed-off-by: Dave Reisner <dreisner at archlinux.org>
> ---
> I'm no libtool expert, but this seems to fix the build with --disable-static
> and the dependencies still look correct for vercmp.
>
>  src/util/Makefile.am |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/src/util/Makefile.am b/src/util/Makefile.am
> index 11308fb..e4af56c 100644
> --- a/src/util/Makefile.am
> +++ b/src/util/Makefile.am
> @@ -31,6 +31,6 @@ testpkg_SOURCES = testpkg.c
>  testpkg_LDADD = $(top_builddir)/lib/libalpm/.libs/libalpm.la
>
>  vercmp_SOURCES = vercmp.c
> -vercmp_LDADD = $(top_builddir)/lib/libalpm/version.o
> +vercmp_LDADD = $(top_builddir)/lib/libalpm/version.lo
>
>  # vim:set ts=2 sw=2 noet:
> --
> 1.7.7.1
>
>
>


More information about the pacman-dev mailing list