[PATCH] build: fix order of rpath

2014-05-28 Thread David Bremner
Felipe Contreras writes: > In my system `pkg-config --libs talloc` returns > 'Wl,-rpath,/usr/lib -ltalloc' (probably wrongly) which causes the final > LDFLAGS to be something like '-Wl,-rpath,/usr/lib > -Wl,-rpath,/opt/notmuch/lib', which causes the RUNPATH to be > '/usr/lib:/opt/notmuch/lib', so

Re: [PATCH] build: fix order of rpath

2014-05-28 Thread David Bremner
Felipe Contreras writes: > In my system `pkg-config --libs talloc` returns > 'Wl,-rpath,/usr/lib -ltalloc' (probably wrongly) which causes the final > LDFLAGS to be something like '-Wl,-rpath,/usr/lib > -Wl,-rpath,/opt/notmuch/lib', which causes the RUNPATH to be > '/usr/lib:/opt/notmuch/lib', so

[PATCH] build: fix order of rpath

2014-05-12 Thread Tomi Ollila
On Mon, May 12 2014, Felipe Contreras wrote: > In my system `pkg-config --libs talloc` returns > 'Wl,-rpath,/usr/lib -ltalloc' (probably wrongly) which causes the final > LDFLAGS to be something like '-Wl,-rpath,/usr/lib > -Wl,-rpath,/opt/notmuch/lib', which causes the RUNPATH to be > '/usr/lib:/

Re: [PATCH] build: fix order of rpath

2014-05-12 Thread Tomi Ollila
On Mon, May 12 2014, Felipe Contreras wrote: > In my system `pkg-config --libs talloc` returns > 'Wl,-rpath,/usr/lib -ltalloc' (probably wrongly) which causes the final > LDFLAGS to be something like '-Wl,-rpath,/usr/lib > -Wl,-rpath,/opt/notmuch/lib', which causes the RUNPATH to be > '/usr/lib:/

[PATCH] build: fix order of rpath

2014-05-11 Thread Felipe Contreras
In my system `pkg-config --libs talloc` returns 'Wl,-rpath,/usr/lib -ltalloc' (probably wrongly) which causes the final LDFLAGS to be something like '-Wl,-rpath,/usr/lib -Wl,-rpath,/opt/notmuch/lib', which causes the RUNPATH to be '/usr/lib:/opt/notmuch/lib', so basically defeating the whole purpos

[PATCH] build: fix order of rpath

2014-05-11 Thread Felipe Contreras
In my system `pkg-config --libs talloc` returns 'Wl,-rpath,/usr/lib -ltalloc' (probably wrongly) which causes the final LDFLAGS to be something like '-Wl,-rpath,/usr/lib -Wl,-rpath,/opt/notmuch/lib', which causes the RUNPATH to be '/usr/lib:/opt/notmuch/lib', so basically defeating the whole purpos