Change library numbering scheme
Fixes https://github.com/harfbuzz/harfbuzz/issues/1431
This commit is contained in:
parent
02948263f9
commit
3bcf153ad8
|
@ -45,7 +45,7 @@ AC_SUBST(HB_VERSION)
|
||||||
|
|
||||||
# Libtool version
|
# Libtool version
|
||||||
m4_define([hb_version_int],
|
m4_define([hb_version_int],
|
||||||
m4_eval(hb_version_major*10000 + hb_version_minor*100 + hb_version_micro))
|
m4_eval(60000 + hb_version_major*100 + hb_version_minor*10 + hb_version_micro))
|
||||||
HB_LIBTOOL_VERSION_INFO=hb_version_int:0:hb_version_int
|
HB_LIBTOOL_VERSION_INFO=hb_version_int:0:hb_version_int
|
||||||
AC_SUBST(HB_LIBTOOL_VERSION_INFO)
|
AC_SUBST(HB_LIBTOOL_VERSION_INFO)
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ hb_version_minor = hb_version_arr[1].to_int()
|
||||||
hb_version_micro = hb_version_arr[2].to_int()
|
hb_version_micro = hb_version_arr[2].to_int()
|
||||||
|
|
||||||
# libtool versioning
|
# libtool versioning
|
||||||
hb_version_int = hb_version_major*10000 + hb_version_minor*100 + hb_version_micro
|
hb_version_int = 60000 + hb_version_major*100 + hb_version_minor*10 + hb_version_micro
|
||||||
hb_libtool_version_info = '@0@:0:@0@'.format(hb_version_int)
|
hb_libtool_version_info = '@0@:0:@0@'.format(hb_version_int)
|
||||||
|
|
||||||
pkgmod = import('pkgconfig')
|
pkgmod = import('pkgconfig')
|
||||||
|
|
Loading…
Reference in New Issue