Al Haji-Ali <abdo.haji....@gmail.com> writes:

> On 09/12/2021, David Bremner wrote:
>> configure actually invokes xapian-config rather than pkg-config (I
>> forget why offhand). So you probably need to set XAPIAN_CONFIG in the
>> environment to the one in your /home when running configure.
>
> Ah OK. My xapian-config is also correctly configured
>
> ,----
> | ~ xapian-config --libs
> | -L/home/al/.local/stow/xapian/lib -lxapian
> `----
>
> Notmuch's configure has the correct paths for Xapian as seen in the 
> compilation command I included before. The issue is the order of library 
> folders.
>
> -- Al

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

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

Reply via email to