mirror of
https://git.freebsd.org/ports.git
synced 2025-05-01 11:06:39 -04:00
ld: error: utils/sshTunnel.o: unable to find library from dependent library specifier: Ws2_32.lib Reported by: antoine (via bug 240629 exp-run) Regressed by: https://reviews.llvm.org/rL360984
12 lines
322 B
C++
12 lines
322 B
C++
--- pgadmin/utils/sshTunnel.cpp.orig 2016-02-08 10:25:13 UTC
|
|
+++ pgadmin/utils/sshTunnel.cpp
|
|
@@ -19,7 +19,9 @@
|
|
#include "utils/sshTunnel.h"
|
|
#include "frm/frmMain.h"
|
|
|
|
+#ifdef WIN32
|
|
#pragma comment (lib, "Ws2_32.lib")
|
|
+#endif
|
|
|
|
typedef const char *(*inet_ntop_t) (int af, const void *src, char *dst, socklen_t size);
|
|
|