Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
ltmain.sh: make OSX autofoo builds' compatibility version match Xcode…
… builds.

closes bug #4208.
  • Loading branch information
sezero committed Jul 5, 2018
1 parent ff8c62f commit c74837f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions build-scripts/ltmain.sh
Expand Up @@ -7404,8 +7404,11 @@ func_mode_link ()
# Darwin ld doesn't like 0 for these options...
func_arith $current + 1
minor_current=$func_arith_result
xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision"
verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
#xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision"
#verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
# make the compatibility version match the Xcode project files, i.e. 1.0
xlcverstring="${wl}-compatibility_version 1.0 ${wl}-current_version ${wl}$minor_current.$revision"
verstring="-compatibility_version 1.0 -current_version $minor_current.$revision"
;;

freebsd-aout)
Expand Down

0 comments on commit c74837f

Please sign in to comment.