diff options
author | Felipe Contreras <felipe.contreras@gmail.com> | 2014-05-11 21:22:25 -0500 |
---|---|---|
committer | David Bremner <david@tethera.net> | 2014-05-28 09:50:04 -0300 |
commit | 90f9a5e65e8dab3fad0a60530d3ffc582f1b1a93 (patch) | |
tree | c0c9c6f970ae13d8d6b043e1032a7d62975c141d /crypto.c | |
parent | 175144f6ad313527e1dfb45b6decedc26d569917 (diff) |
build: fix order of rpath
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 purpose of
RUNPATH.
I noticed this when my /opt/notmuch/bin/notmuch (0.17) started updating
the database after I updated the system (which updated the system's
notmuch). This shouldn't happen.
Let's move the RUNPATH flags before other external flags have a chance of
screwing the build.
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Diffstat (limited to 'crypto.c')
0 files changed, 0 insertions, 0 deletions