Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 65272 | Differences between
and this patch

Collapse All | Expand All

(-)ltmain.sh-1.2 (-3 / +21 lines)
Lines 967-972 Link Here
967
        versuffix="$current.$revision"
967
        versuffix="$current.$revision"
968
        ;;
968
        ;;
969
969
970
      darwin)
971
        # Like Linux, but with the current version available in
972
        # verstring for coding it into the library header
973
        major=.`expr $current - $age`
974
        versuffix="$major.$age.$revision"
975
        # Darwin ld doesn't like 0 for these options...
976
        minor_current=`expr $current + 1`
977
        verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
978
        ;;
979
970
      *)
980
      *)
971
        $echo "$modename: unknown library version type \`$version_type'" 1>&2
981
        $echo "$modename: unknown library version type \`$version_type'" 1>&2
972
        echo "Fatal configuration error.  See the $PACKAGE docs for more information." 1>&2
982
        echo "Fatal configuration error.  See the $PACKAGE docs for more information." 1>&2
Lines 1000-1008 Link Here
1000
        allow_undefined_flag="$no_undefined_flag"
1010
        allow_undefined_flag="$no_undefined_flag"
1001
      fi
1011
      fi
1002
1012
1003
      # Add libc to deplibs on all systems.
1013
      case "$version_type" in
1004
      dependency_libs="$deplibs"
1014
      rhapsody|darwin)
1005
      deplibs="$deplibs -lc"
1015
        # Rhapsody C library is in the System framework
1016
        deplibs="$deplibs -framework System"
1017
        ;;
1018
      *)
1019
        # Add libc to deplibs on all other systems.
1020
        dependency_libs="$deplibs"
1021
        deplibs="$deplibs -lc"
1022
        ;;
1023
      esac
1006
1024
1007
      if test "$build_libtool_libs" = yes; then
1025
      if test "$build_libtool_libs" = yes; then
1008
        # Get the real and link names of the library.
1026
        # Get the real and link names of the library.

Return to bug 65272