Skip to content

Commit

Permalink
Ensure statically linked (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
AristurtleDev authored Nov 8, 2023
1 parent b592c75 commit 66b0b6d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build/BuildWindowsTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ public override void Run(BuildContext context)
PlatformTarget = PlatformTarget.x64
};

// Ensure statically linked
context.ReplaceTextInFiles("freetype/builds/windows/vc2010/freetype.vcxproj", "MultiThreadedDLL", "MultiThreaded");

context.MSBuild("freetype/builds/windows/vc2010/freetype.vcxproj", buildSettings);
context.CopyFile("freetype-demos/bin/freetype.dll", $"{context.ArtifactsDir}/freetype.dll");
}
Expand Down

0 comments on commit 66b0b6d

Please sign in to comment.