diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-05-01 02:53:32 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-05-01 02:53:32 +0000 |
commit | 8f94f0540fc4a1c5526d091fff955a5cdbdc9293 (patch) | |
tree | cd1e9862aa0a9cff4828929d6299c777146aa459 /configure.in | |
parent | d5a23f38df7d7ebda0995a04e449a8e0a6173518 (diff) | |
download | tor-8f94f0540fc4a1c5526d091fff955a5cdbdc9293.tar.gz tor-8f94f0540fc4a1c5526d091fff955a5cdbdc9293.zip |
r12611@catbus: nickm | 2007-04-30 22:49:00 -0400
For reasons which make sense to somebody, I'm sure, mingw gcc wants the libraries to appear at the end of the command line. This is done by specifying them with LDADD in Makefile.am, not LDFLAGS.
If anybody can explain to me why mingw thinks "gcc -o foo foo.o -lbar" is fine, whereas "gcc -lbar -o foo foo.o" is Doubleplusbad UnMingwThink, I'd quite appreciate it. Until then, I'll just do what seems to work, and hope we don't blunder across any other great slumbering cthonian deities of arbitrary syntax.
svn:r10082
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 79df58d8cc..db95eab0a2 100644 --- a/configure.in +++ b/configure.in @@ -163,7 +163,9 @@ dnl ------------------------------------------------------ dnl Where do you live, libevent? And how do we call you? if test $bwin32 = true; then - TOR_LIB_WS32=-lws2_32 -lwsock32 + TOR_LIB_WS32=-lws2_32 + # Some of the cargo-cults recommend -lwsock32 as well, but I don't + # think it's actually necessary. TOR_LIB_GDI=-lgdi32 else TOR_LIB_WS32= |