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

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Mar 15 10:42:54 UTC 2018


#23846: Use libtool for building shared library
--------------------------------+------------------------------------
 Reporter:  hellais             |          Owner:  (none)
     Type:  enhancement         |         Status:  new
 Priority:  Medium              |      Milestone:  Tor: 0.3.4.x-final
Component:  Core Tor/Tor        |        Version:
 Severity:  Normal              |     Resolution:
 Keywords:  tor-mobile, s8-api  |  Actual Points:
Parent ID:  #23684              |         Points:
 Reviewer:                      |        Sponsor:  Sponsor8
--------------------------------+------------------------------------

Comment (by sbs):

 I have [this patch
 set](https://gist.github.com/bassosimone/72f95974881812695b55f9d886c1ba2d)
 where I basically:

 - modify the build system of tor to make convenience `libtool` libraries
 as opposed to convenience `.a` archvies

 - add an extra rule to create from such convenience libraries a single
 `.la` / `.a` archive

 This simplifies integrating tor because, after this change, there is a
 single library to embed rather than many. Also such setup seems more
 robust because the composition of many libraries into a single one is done
 by Tor build system rather than by integrators.

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


More information about the tor-bugs mailing list