Skip to content

Commit 355987b

Browse files
fj40bryanbgoglin
authored andcommitted
Update libhwloc.vcxproj to support static linking
Fix Windows static linking for libhwloc Signed-off-by: Bryan Hunt <[email protected]>
1 parent 06e31a1 commit 355987b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/windows/libhwloc.vcxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@
172172
</PrecompiledHeader>
173173
<Optimization>MaxSpeed</Optimization>
174174
<FunctionLevelLinking>true</FunctionLevelLinking>
175-
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
175+
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
176176
<RuntimeTypeInfo>true</RuntimeTypeInfo>
177177
<IntrinsicFunctions>true</IntrinsicFunctions>
178178
<PreprocessorDefinitions>PSAPI_VERSION=1;WIN32;NDEBUG;WIN64;_WINDOWS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
@@ -186,7 +186,7 @@
186186
<IgnoreSpecificDefaultLibraries>libcmt.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
187187
<ImportLibrary>$(OutDir)$(ProjectName).lib</ImportLibrary>
188188
<OptimizeReferences>true</OptimizeReferences>
189-
<OutputFile>$(OutDir)$(TargetName).dll</OutputFile>
189+
<OutputFile>$(OutDir)$(TargetName).lib</OutputFile>
190190
<ProgramDatabaseFile>$(OutDir)$(ProjectName).pdb</ProgramDatabaseFile>
191191
<ShowProgress>LinkVerboseLib</ShowProgress>
192192
<SubSystem>Console</SubSystem>

0 commit comments

Comments
 (0)