[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #23846 [Core Tor/Tor]: Use libtool for building shared library
#23846: Use libtool for building shared library
-------------------------------------------------+-------------------------
Reporter: hellais | Owner: sbs
Type: enhancement | Status:
| needs_information
Priority: Medium | Milestone: Tor:
| 0.3.5.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: tor-mobile, s8-api, | Actual Points:
034-triage-20180328, 034-included-20180402, |
034-roadmap-subtask, 035-roadmap-subtask, 035 |
-triaged-in-20180711 |
Parent ID: #25510 | Points:
Reviewer: ahf | Sponsor:
| Sponsor8
-------------------------------------------------+-------------------------
Comment (by sbs):
Addition: as far as I can tell, there is no portable way to make a single
static library out of many static libraries. I remember discussing this
with `ahf` and concluding that probably using `libtool` was a good
solution. It is a also a bit of a bummer that what we need `libtool` for
is to assemble the static library from the many other libraries produced
by the build system. I think I initially considered making another diff
that modified the build system to make a single static library, but then I
started wondering about `rust` integration and then suddenly a `libool`
rule for assembling a single static library from rust static libraries and
the many `tor` folders was not that bad. Still I am unhappy of `libtool`
because it makes the build slower (even with `--disable-shared` on by
default IIRC it was a bit slower).
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/23846#comment:38>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs