diff options
author | athenian200 <athenian200@outlook.com> | 2019-10-17 17:26:58 -0500 |
---|---|---|
committer | athenian200 <athenian200@outlook.com> | 2019-10-21 04:53:44 -0500 |
commit | 21146d0d5e4b6c985a3dce26460a5f495f1deb6e (patch) | |
tree | f33bb9b839f46d2e606a543239df38baedb66b5c /old-configure.in | |
parent | 9cd92944e2c772fbb2e9856d5948553ae9233c9a (diff) | |
download | uxp-21146d0d5e4b6c985a3dce26460a5f495f1deb6e.tar.gz |
MoonchildProductions#1251 - Part 25: Fix link paths.
This fix is a bit ugly and may need to be changed later if we switch a new GCC version, but the fact is that we use an architecture-specific path for GCC libraries on Solaris, so knowing the right prefix for GCC would only help so much, because it would still need to decide between ${gccdir}/lib and ${gccdir}/lib/amd64. The MOZ_FIX_LINK_PATHS variable puts the search paths into the right order without the need for me to use elfedit on the binaries afterwards.
Diffstat (limited to 'old-configure.in')
-rw-r--r-- | old-configure.in | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/old-configure.in b/old-configure.in index 2530842168..dae43d6f1d 100644 --- a/old-configure.in +++ b/old-configure.in @@ -1197,8 +1197,12 @@ case "$target" in fi ;; -*-solaris*) - MOZ_FIX_LINK_PATHS="-L${DIST}/bin" +i*86-*-solaris*) + MOZ_FIX_LINK_PATHS="-L${DIST}/bin -R'\$\$ORIGIN':/usr/gcc/7/lib" + ;; + +x86_64-*-solaris*) + MOZ_FIX_LINK_PATHS="-L${DIST}/bin -R'\$\$ORIGIN':/usr/gcc/7/lib/amd64" ;; esac |