Bug 1419321 - Linking on Solaris is missing -L${DIST}/bin. r=chmanchester
authorPetr Sumbera <petr.sumbera@oracle.com>
Tue, 21 Nov 2017 01:13:01 -0800
changeset 444953 6e00d3b7df15e2dd07a0bd3c7bd174c8730f493d
parent 444952 4c0a1f6c51e1750dadaa0aa17309bc570f6e186f
child 444954 960f50c2e0a991ab2ab313132e69fb2c96cb7866
child 445005 681fece780aef771f1c6b56cddf4e52c8c800cb2
push id8527
push userCallek@gmail.com
push dateThu, 11 Jan 2018 21:05:50 +0000
treeherdermozilla-beta@95342d212a7a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerschmanchester
bugs1419321
milestone59.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1419321 - Linking on Solaris is missing -L${DIST}/bin. r=chmanchester
js/src/old-configure.in
old-configure.in
--- a/js/src/old-configure.in
+++ b/js/src/old-configure.in
@@ -869,17 +869,17 @@ case "$target" in
     DSO_PIC_CFLAGS='-fPIC'
     DSO_LDOPTS='-shared -fPIC'
     if test "$LIBRUNPATH"; then
 	DSO_LDOPTS="-R$LIBRUNPATH $DSO_LDOPTS"
     fi
     ;;
 
 *-solaris*)
-    MOZ_FIX_LINK_PATHS=
+    MOZ_FIX_LINK_PATHS="-L${DIST}/bin"
     ;;
 
 esac
 
 if test -z "$MOZ_OPTIMIZE_FLAGS"; then
 	MOZ_OPTIMIZE_FLAGS="-O"
 fi
 
--- a/old-configure.in
+++ b/old-configure.in
@@ -1123,17 +1123,17 @@ case "$target" in
     DSO_PIC_CFLAGS='-fPIC'
     DSO_LDOPTS='-shared -fPIC'
     if test "$LIBRUNPATH"; then
         DSO_LDOPTS="-R$LIBRUNPATH $DSO_LDOPTS"
     fi
     ;;
 
 *-solaris*)
-    MOZ_FIX_LINK_PATHS=
+    MOZ_FIX_LINK_PATHS="-L${DIST}/bin"
     ;;
 
 esac
 
 if test -z "$MOZ_OPTIMIZE_FLAGS"; then
     MOZ_OPTIMIZE_FLAGS="-O"
 fi