Skip to content

Commit

Permalink
Update libhwloc.vcxproj to support static linking
Browse files Browse the repository at this point in the history
Fix Windows static linking for libhwloc

Signed-off-by: Bryan Hunt <bryanjhunt@msn.com>
(cherry picked from commit 355987b)
  • Loading branch information
fj40bryan authored and bgoglin committed Sep 1, 2020
1 parent edc84e4 commit 608af67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/windows/libhwloc.vcxproj
Expand Up @@ -172,7 +172,7 @@
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>PSAPI_VERSION=1;WIN32;NDEBUG;WIN64;_WINDOWS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
Expand All @@ -186,7 +186,7 @@
<IgnoreSpecificDefaultLibraries>libcmt.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<ImportLibrary>$(OutDir)$(ProjectName).lib</ImportLibrary>
<OptimizeReferences>true</OptimizeReferences>
<OutputFile>$(OutDir)$(TargetName).dll</OutputFile>
<OutputFile>$(OutDir)$(TargetName).lib</OutputFile>
<ProgramDatabaseFile>$(OutDir)$(ProjectName).pdb</ProgramDatabaseFile>
<ShowProgress>LinkVerboseLib</ShowProgress>
<SubSystem>Console</SubSystem>
Expand Down

0 comments on commit 608af67

Please sign in to comment.