Re: Make fails with xapian custom installation

Subject: Re: Make fails with xapian custom installation

Date: Thu, 09 Dec 2021 16:36:06 +0000

To: David Bremner

Cc: notmuch@notmuchmail.org

From: Al Haji-Ali


On 09/12/2021, David Bremner wrote:
> Does it help if you set LDFLAGS on the make command line?  Looking at
> Makefile.global,  LDFLAGS are added before the other computed flags. So
> something like
>
> % make V=1 LDFLAGS=-L/home/al/.local/stow/xapian/lib

Yep, this works. Thanks!

I feel that gcc should really have a right-to-left order rather than left-to-right libraries are usually preceded by their directory (like in xapian-config and pkg-config). It's curious that I never ran into this problem before.

-- Al
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: