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 393233 6e00d3b7df15e2dd07a0bd3c7bd174c8730f493d
parent 393232 4c0a1f6c51e1750dadaa0aa17309bc570f6e186f
child 393243 960f50c2e0a991ab2ab313132e69fb2c96cb7866
child 393280 681fece780aef771f1c6b56cddf4e52c8c800cb2
push id55866
push usershindli@mozilla.com
push dateWed, 22 Nov 2017 21:42:44 +0000
treeherderautoland@4540bbf4d1ab [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