diff options
Diffstat (limited to 'indra')
-rw-r--r-- | indra/cmake/LLCommon.cmake | 6 | ||||
-rw-r--r-- | indra/llcommon/lluuid.cpp | 2 |
2 files changed, 3 insertions, 5 deletions
diff --git a/indra/cmake/LLCommon.cmake b/indra/cmake/LLCommon.cmake index c10fa63049..d1ab264a41 100644 --- a/indra/cmake/LLCommon.cmake +++ b/indra/cmake/LLCommon.cmake @@ -13,11 +13,7 @@ set(LLCOMMON_INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ) -if (WINDOWS) - set(LLCOMMON_LIBRARIES llcommon iphlpapi) -else (WINDOWS) - set(LLCOMMON_LIBRARIES llcommon) -endif (WINDOWS) +set(LLCOMMON_LIBRARIES llcommon) add_definitions(${TCMALLOC_FLAG}) diff --git a/indra/llcommon/lluuid.cpp b/indra/llcommon/lluuid.cpp index 3a11753683..583c1e589b 100644 --- a/indra/llcommon/lluuid.cpp +++ b/indra/llcommon/lluuid.cpp @@ -36,6 +36,8 @@ #undef WIN32_LEAN_AND_MEAN #include <winsock2.h> #include <windows.h> +// ugh, this is ugly. We need to straighten out our linking for this library +#pragma comment(lib, "IPHLPAPI.lib") #include <iphlpapi.h> #endif |