[tor-bugs] #32191 [Core Tor/Tor]: when cross-compiling, lzma and zstd will be detected on build system

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Oct 25 15:08:51 UTC 2019


#32191: when cross-compiling, lzma and zstd will be detected on build system
----------------------------------+------------------------------------
 Reporter:  eighthave             |          Owner:  (none)
     Type:  defect                |         Status:  needs_revision
 Priority:  Medium                |      Milestone:  Tor: 0.4.3.x-final
Component:  Core Tor/Tor          |        Version:
 Severity:  Normal                |     Resolution:
 Keywords:  Android 042-backport  |  Actual Points:
Parent ID:                        |         Points:
 Reviewer:                        |        Sponsor:
----------------------------------+------------------------------------

Comment (by eighthave):

 Now that I think about this, I think this could break some setups on UNIX
 since those might rely on the pkg-config PATH having multiple paths in it,
 and when cross-compiling, there should only be --prefix.  It needs to be
 set only when cross-compiling.  So I think this needs to set based on
 these conditions

 * if --host is set for cross-compiling
 * if --prefix is set
 * if PKG_CONFIG_PATH is not set

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


More information about the tor-bugs mailing list