~mdw
/
mdw-cross
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a38fd09
)
src/mdw-cross.in: Add the cross-built libraries to the runtime search path.
author
Mark Wooding
<mdw@distorted.org.uk>
Fri, 15 Nov 2019 17:12:27 +0000
(17:12 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sun, 10 May 2020 18:35:19 +0000
(19:35 +0100)
Libtool sets the `RPATH' in binaries, but libraries linked using plain
`ld' don't by default, and then there is sadness.
src/cross.in
patch
|
blob
|
blame
|
history
diff --git
a/src/cross.in
b/src/cross.in
index
38d3136
..
8953c52
100644
(file)
--- a/
src/cross.in
+++ b/
src/cross.in
@@
-65,4
+65,7
@@
case ${CROSS_COMPILER-guess},$found_gcc,$found_clang in
esac
export CROSS_COMPILER
+LD_LIBRARY_PATH="$CROSS_PREFIX/lib${LD_LIBRARY_PATH+:$LD_LIBRARY_PATH}"
+export LD_LIBRARY_PATH
+
exec "$@"