Author: brane
Date: Mon Jun  9 14:58:26 2025
New Revision: 1926290

URL: http://svn.apache.org/viewvc?rev=1926290&view=rev
Log:
* SConstruct: Recognize Windows/ARM64 as a known build target.

Modified:
    serf/trunk/SConstruct

Modified: serf/trunk/SConstruct
URL: 
http://svn.apache.org/viewvc/serf/trunk/SConstruct?rev=1926290&r1=1926289&r2=1926290&view=diff
==============================================================================
--- serf/trunk/SConstruct (original)
+++ serf/trunk/SConstruct Mon Jun  9 14:58:26 2025
@@ -175,12 +175,13 @@ if sys.platform == 'win32':
     EnumVariable('TARGET_ARCH',
                  "Platform to build for",
                  'x86',
-                 allowed_values=('x86', 'x86_64', 'ia64'),
+                 allowed_values=('x86', 'x86_64', 'arm64', 'ia64'),
                  map={'X86'  : 'x86',
                       'win32': 'x86',
                       'Win32': 'x86',
                       'x64'  : 'x86_64',
-                      'X64'  : 'x86_64'
+                      'X64'  : 'x86_64',
+                      'ARM64': 'arm64'
                      }),
 
     EnumVariable('MSVC_VERSION',
@@ -385,7 +386,7 @@ if sys.platform == 'win32':
                          '_CRT_SECURE_NO_WARNINGS',
                          '_CRT_NONSTDC_NO_WARNINGS'])
 
-  if env.get('TARGET_ARCH', None) == 'x86_64':
+  if env.get('TARGET_ARCH', None) in ('x86_64', 'arm64', 'ia64'):
     env.Append(CPPDEFINES=['WIN64'])
 
   # Get the APR-Util version number to check if we need an external Expat


Reply via email to