[Pkg-electronics-devel] Debian package for SystemC
Carsten Schoenert
c.schoenert at t-online.de
Thu Jun 28 20:21:53 BST 2018
Hi,
Am 28.06.18 um 02:09 schrieb أحمد المحمودي:
> I pushed my work on systemc package to git.
> Thhe only problem I see is that the shared library is named:
> libsystemc-<version>.so instead of libsystemc.so.<version>
>
> anyone has an idea how to fix this in upsyream Makefile ?
> Is this line in src/Makefile.am the culprit ?
>
> libsystemc_la_LDFLAGS = $(EXTRA_LDFLAGS) -release $(VERSION)
you are looking for '... -version-info SCURRENT:SREVISION:$AGE' to get a
valid ABI versioning.
This is a complex thing as you also need to consider a API version.
A basic document that describes how symbol versioning is working and you
need to understand first was written by Ulrich Drepper long ago.
https://www.akkadia.org/drepper/symbol-versioning
Than you need to understand further how libtool is doing his job on
getting this in shape.
The following resources had helped me to understand this mostly.
https://autotools.io/libtool/version.html
http://www.informit.com/articles/article.aspx?p=19553
https://developer.gnome.org/programming-guidelines/stable/versioning.html.en
If you think you got it than you can try to adjust the upstream source
and upstream your modifications.
--
Regards
Carsten Schoenert
More information about the Pkg-electronics-devel
mailing list