From 29f948c574b94b822cd1f1b703072a5644331373 Mon Sep 17 00:00:00 2001 From: Chris Hofstaedtler Date: Fri, 16 Feb 2024 17:53:52 +0100 Subject: [PATCH] Python: fix build --- MagPython/MagPython.vcxproj | 43 +++++++++++++++++++++---------------- 1 file changed, 25 insertions(+), 18 deletions(-) diff --git a/MagPython/MagPython.vcxproj b/MagPython/MagPython.vcxproj index ee68c0a1..49d61bcf 100644 --- a/MagPython/MagPython.vcxproj +++ b/MagPython/MagPython.vcxproj @@ -64,7 +64,7 @@ MaxSpeed true true - WIN32;_WIN32;NDEBUG;MAG_PY_EMBED;_CRT_SECURE_NO_WARNINGS;_WINSOCK_DEPRECATED_NO_WARNINGS;%(PreprocessorDefinitions) + WIN32;_WIN32;NDEBUG;FFI_STATIC_BUILD;%(PreprocessorDefinitions) $(OutDir)\include _USRDLL;Py_BUILD_CORE;Py_BUILD_CORE_BUILTIN;Py_ENABLE_SHARED;MS_DLL_ID="";%(PreprocessorDefinitions) @@ -85,7 +85,8 @@ false true true - version.lib;ws2_32.lib;Crypt32.lib;winmm.lib;pathcch.lib;bcrypt.lib;%(AdditionalDependencies) + version.lib;Crypt32.lib;winmm.lib;pathcch.lib;bcrypt.lib;%(AdditionalDependencies) + ws2_32.lib;iphlpapi.lib;Rpcrt4.lib;%(AdditionalDependencies) LIBC;%(IgnoreSpecificDefaultLibraries) @@ -499,7 +500,6 @@ - @@ -560,7 +560,20 @@ - + + + + + + 4244 + + + + + + + + @@ -592,7 +605,9 @@ - + + Py_NO_ENABLE_SHARED;%(PreprocessorDefinitions) + @@ -602,18 +617,10 @@ - + @@ -621,13 +628,13 @@ - - + + - - + +