vcpkg/ports/poco/fix_foundation_link.patch
2019-08-15 00:19:37 -07:00

25 lines
661 B
Diff

diff --git a/Foundation/src/Environment_WIN32.cpp b/Foundation/src/Environment_WIN32.cpp
index 62845fa..edcf6fe 100644
--- a/Foundation/src/Environment_WIN32.cpp
+++ b/Foundation/src/Environment_WIN32.cpp
@@ -22,6 +22,7 @@
#include <ws2ipdef.h>
#include <iphlpapi.h>
+#pragma comment(lib, "IPHLPAPI.lib")
namespace Poco {
diff --git a/Foundation/src/Environment_WINCE.cpp b/Foundation/src/Environment_WINCE.cpp
index afa59b6..c43767b 100644
--- a/Foundation/src/Environment_WINCE.cpp
+++ b/Foundation/src/Environment_WINCE.cpp
@@ -23,6 +23,7 @@
#include <windows.h>
#include <iphlpapi.h>
+#pragma comment(lib, "IPHLPAPI.lib")
namespace Poco {