Ticket #44384: patch-ltmain.sh.diff

File patch-ltmain.sh.diff, 838 bytes (added by djlambe11@…, 10 years ago)

Enable compilation on Tiger (and possibly other versions)

  • ltmain.sh

    old new  
    32663266          versuffix="$major.$age.$revision"
    32673267          # Darwin ld doesn't like 0 for these options...
    32683268          minor_current=`expr $current + 1`
    3269           verstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision"
     3269          # MacPorts: Older versions of Mac OS X use -dylib_compatibility_version
     3270          #           and -dylib_current_version.  Current releases still accept
     3271          #           these.  If anyone can figure out when the change was made,
     3272          #           feel free to add a conditional to check for that.
     3273          verstring="${wl}-dylib_compatibility_version ${wl}$minor_current ${wl}-dylib_current_version ${wl}$minor_current.$revision"
    32703274          ;;
    32713275
    32723276        freebsd-aout)