[tor-bugs] #23846 [Core Tor/Tor]: Use libtool for building shared library

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Jul 30 22:20:41 UTC 2018


#23846: Use libtool for building shared library
-------------------------------------------------+-------------------------
 Reporter:  hellais                              |          Owner:  nickm
     Type:  enhancement                          |         Status:
                                                 |  accepted
 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 nickm):

 One question: Instead of a single static library, would a target that
 gives you a list of all the static libraries you need be acceptable?

 Right now, you can get a complete list of all the libraries you need to
 link for tor, in the correct order, by running "make show-libs".  It's
 what we use in a few other places for external things like the clusterfuzz
 fuzzer that need to link "everything in tor".

 That way instead of saying "tor/src/or/libtor_complete.a" in your linking
 command, you'd say "(cd tor && make show-libs)".

 I suggest this instead of a single library because there are issues with
 Windows here, because Cargo builds its libraries as .lib rather than .a.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/23846#comment:41>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list