Skip to content

Commit 66b0b6d

Browse files
Ensure statically linked (#4)
1 parent b592c75 commit 66b0b6d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build/BuildWindowsTask.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ public override void Run(BuildContext context)
1818
PlatformTarget = PlatformTarget.x64
1919
};
2020

21+
// Ensure statically linked
22+
context.ReplaceTextInFiles("freetype/builds/windows/vc2010/freetype.vcxproj", "MultiThreadedDLL", "MultiThreaded");
23+
2124
context.MSBuild("freetype/builds/windows/vc2010/freetype.vcxproj", buildSettings);
2225
context.CopyFile("freetype-demos/bin/freetype.dll", $"{context.ArtifactsDir}/freetype.dll");
2326
}

0 commit comments

Comments
 (0)