ltmain.sh: make OSX autofoo builds' compatibility version match Xcode builds. SDL-1.2
authorOzkan Sezer <sezeroz@gmail.com>
Thu, 05 Jul 2018 23:00:02 +0300
branchSDL-1.2
changeset 12057aad2440e3d61
parent 12053 edddd89f910d
child 12064 788f2622621a
ltmain.sh: make OSX autofoo builds' compatibility version match Xcode builds.

closes bug #4208.
build-scripts/ltmain.sh
     1.1 --- a/build-scripts/ltmain.sh	Sun Jul 01 17:00:02 2018 +0300
     1.2 +++ b/build-scripts/ltmain.sh	Thu Jul 05 23:00:02 2018 +0300
     1.3 @@ -6262,8 +6262,11 @@
     1.4  	  # Darwin ld doesn't like 0 for these options...
     1.5  	  func_arith $current + 1
     1.6  	  minor_current=$func_arith_result
     1.7 -	  xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision"
     1.8 -	  verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
     1.9 +	  #xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision"
    1.10 +	  #verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
    1.11 +	  # make the compatibility version match the Xcode project files, i.e. 1.0
    1.12 +	  xlcverstring="${wl}-compatibility_version 1.0 ${wl}-current_version ${wl}$minor_current.$revision"
    1.13 +	  verstring="-compatibility_version 1.0 -current_version $minor_current.$revision"
    1.14  	  ;;
    1.15  
    1.16  	freebsd-aout)