Skip to content

Commit

Permalink
Fix libcurl.dll not being available in debug mode
Browse files Browse the repository at this point in the history
(required for net(c).dll)
  • Loading branch information
jushar committed Sep 6, 2016
1 parent 1d07787 commit 8e72d31
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions vendor/curl/lib/premake5.lua
Expand Up @@ -262,6 +262,13 @@ project "curl"
copy "mta"
}

filter {"system:windows", "platforms:x86", "configurations:Debug"}
postbuildcommands {
-- Fix net(c).dll requiring the release build
"copy %{wks.location}..\\Bin\\server\\libcurl_d.dll %{wks.location}..\\Bin\\mta\\libcurl.dll",
"copy %{wks.location}..\\Bin\\server\\libcurl_d.dll %{wks.location}..\\Bin\\server\\libcurl.dll"
}

filter "platforms:x64"
targetdir(buildpath("server/x64"))

0 comments on commit 8e72d31

Please sign in to comment.