Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Core
Tor
Commits
850d8c9e
Commit
850d8c9e
authored
Aug 22, 2011
by
Steven Murdoch
Browse files
Correct reference to libiphlpapi from libiphlapi
parent
c5e74fc6
Changes
2
Hide whitespace changes
Inline
Side-by-side
configure.in
View file @
850d8c9e
...
...
@@ -325,7 +325,7 @@ dnl Where do you live, libevent? And how do we call you?
if test "$bwin32" = true; then
TOR_LIB_WS32=-lws2_32
TOR_LIB_IPHLAPI=-liphlapi
TOR_LIB_IPHL
P
API=-liphl
p
api
# Some of the cargo-cults recommend -lwsock32 as well, but I don't
# think it's actually necessary.
TOR_LIB_GDI=-lgdi32
...
...
@@ -335,7 +335,7 @@ else
fi
AC_SUBST(TOR_LIB_WS32)
AC_SUBST(TOR_LIB_GDI)
AC_SUBST(TOR_LIB_IPHLAPI)
AC_SUBST(TOR_LIB_IPHL
P
API)
dnl We need to do this before we try our disgusting hack below.
AC_CHECK_HEADERS([sys/types.h])
...
...
@@ -561,7 +561,7 @@ dnl There are no packages for Debian or Redhat as of this patch
if test "$upnp" = "true"; then
AC_DEFINE(MINIUPNPC, 1, [Define to 1 if we are building with UPnP.])
TOR_SEARCH_LIBRARY(libminiupnpc, $trylibminiupnpcdir, [-lminiupnpc $TOR_LIB_WS32 $TOR_LIB_IPHLAPI],
TOR_SEARCH_LIBRARY(libminiupnpc, $trylibminiupnpcdir, [-lminiupnpc $TOR_LIB_WS32 $TOR_LIB_IPHL
P
API],
[#include <miniupnpc/miniwget.h>
#include <miniupnpc/miniupnpc.h>
#include <miniupnpc/upnpcommands.h>],
...
...
src/tools/tor-fw-helper/Makefile.am
View file @
850d8c9e
...
...
@@ -25,7 +25,7 @@ endif
if
MINIUPNPC
miniupnpc_ldflags
=
@TOR_LDFLAGS_libminiupnpc@
miniupnpc_ldadd
=
-lminiupnpc
-lm
@TOR_LIB_IPHLAPI@
miniupnpc_ldadd
=
-lminiupnpc
-lm
@TOR_LIB_IPHL
P
API@
miniupnpc_cppflags
=
@TOR_CPPFLAGS_libminiupnpc@
else
miniupnpc_ldflags
=
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment