Skip to content

Latest commit

 

History

History
25 lines (24 loc) · 1.3 KB

dylibversion.patch

File metadata and controls

25 lines (24 loc) · 1.3 KB
 
Nov 10, 2019
Nov 10, 2019
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
link the osx dylib with compatibility version set to 25.0
(corresponds to MPG123_API_VERSION 24)
--- mpg123-1.22.4/build/ltmain.sh-2.4.6.orig
+++ mpg123-1.22.4-edit/build/ltmain.sh
@@ -8882,15 +8882,15 @@
# 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 25.0 $wl-current_version $wl$minor_current.$revision"
+ verstring="-compatibility_version 25.0 -current_version $minor_current.$revision"
# On Darwin other compilers
case $CC in
nagfor*)
- verstring="$wl-compatibility_version $wl$minor_current $wl-current_version $wl$minor_current.$revision"
+ verstring="$wl-compatibility_version 25.0 $wl-current_version $wl$minor_current.$revision"
;;
*)
- verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
+ verstring="-compatibility_version 25.0 -current_version $minor_current.$revision"
;;
esac
;;