pike.git / bin / smartlink

version» Context lines:

pike.git/bin/smartlink:154:    ;;    IRIX\ 6.*)    LDOPTS="$LDOPTS -rpath $RPATH"    ;;    IRIX\ 5.*)    LDOPTS="$LDOPTS -rpath $RPATH"    ;;    SunOS\ 5.*)    LDOPTS="$LDOPTS -R$RPATH"    ;; -  Linux\ 2.*) +  Linux\ 1.*) +  LD_LIBRARY_PATH="$RPATH" +  LD_RUN_PATH="$RPATH" +  export LD_LIBRARY_PATH LD_RUN_PATH +  ;; +  Linux\ *)    if test x$LINKING != xno -a "x$RPATH" != x ; then    LDOPTS="$LDOPTS -Wl,-rpath,$RPATH"    fi    ;;    UnixWare\ 7.*)    if test x$LINKING != xno -a "x$RPATH" != x ; then    LDOPTS="$LDOPTS -Xlinker -YP, -Xlinker $RPATH"    fi    ;; -  +  Darwin\ *|NetBSD\ *) +  if test x$LINKING != xno -a "x$RPATH" != x ; then +  OIFS="$IFS" +  IFS=":" +  RPP="$PATH" +  for RP in $RPATH ; do +  LDOPTS="$LDOPTS -Wl,-rpath,$RP" +  done +  IFS="$OIFS" +  fi +  ;;    *)    LD_LIBRARY_PATH="$RPATH"    LD_RUN_PATH="$RPATH"    export LD_LIBRARY_PATH LD_RUN_PATH    ;;    esac   fi      #case "x$UNAME" in   # AIX*)
pike.git/bin/smartlink:186:   # ;;   # *)   # if test "x$NO_ULIMIT" = "x"; then   # # Limit data segment size to 48MB.   # ulimit -d 49152 >/dev/null 2>&1   # fi   # ;;   #esac      case "$UNAME" in +  Darwin\ 1[3-9]*|Darwin\ [2-9][0-9]*) +  # C++ Name mangling changed here, need to be able to interoperate with modern libs +  if test "x$MACOSX_DEPLOYMENT_TARGET" = "x" ; then +  export MACOSX_DEPLOYMENT_TARGET=10.9 +  fi +  ;;    Darwin\ [7-9]*|Darwin\ [1-9][0-9]*)    # Needs to be 10.3 or better for ld to accept "-undefined dynamic_lookup" -  +  if test "x$MACOSX_DEPLOYMENT_TARGET" = "x" ; then    export MACOSX_DEPLOYMENT_TARGET=10.3 -  +  fi    ;;    *)    ;;   esac      #echo $LINKER $LDOPTS      # exec $LINKER $LDOPTS   # Used to be exec, but Digital-Unix's stupid sh has buggy variable-expansion.   # /grubba   # eval $LINKER $LDOPTS   # Used to be eval, but then quoting won't work.   # /grubba 1998-12-16   $LINKER $LDOPTS   exit $?