[tor-bugs] #7310 [- Select a component]: nmake script LIBS variable uses .a instead of .lib

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sun Nov 4 12:35:05 UTC 2012


#7310: nmake script LIBS variable uses .a instead of .lib
----------------------------------+-----------------------------------------
 Reporter:  ultramage             |          Owner:     
     Type:  defect                |         Status:  new
 Priority:  normal                |      Milestone:     
Component:  - Select a component  |        Version:     
 Keywords:                        |         Parent:     
   Points:                        |   Actualpoints:     
----------------------------------+-----------------------------------------
 In src/or/Makefile.nmake the LIBS variable refernces third-party libraries
 libevent.a, libcrypto.a, libssl.a and libz.a. This file extension confuses
 the MSVC linker, which will print warnings about unknown type and
 "assuming". Using the .lib file extension is more appropriate since this
 is what the linked projects use. Curiously enough, src/test/Makefile.nmake
 already has this 'fix', so I'm not sure what happened there.

 PS: there's a naming inconsistency: libcrypto -> libeay32, libssl ->
 ssleay32, libz -> zlib
 these are easily worked around using symlinks, but it makes me wonder if
 openssl has a toggle for the legacy/defunct eay product imitation.

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


More information about the tor-bugs mailing list