Browse Source

UWP: Fix problem with Cert Kit validation

George Marques 8 years ago
parent
commit
f55fff3528
1 changed files with 1 additions and 2 deletions
  1. 1 2
      platform/uwp/detect.py

+ 1 - 2
platform/uwp/detect.py

@@ -115,7 +115,6 @@ def configure(env):
 
             angle_build_cmd += "Win32"
 
-            env.Append(CPPFLAGS=['/DPNG_ABORT=abort'])
             env.Append(LINKFLAGS=['/MACHINE:X86'])
             env.Append(LIBPATH=[vc_base_path + 'lib/store'])
             env.Append(LIBPATH=[angle_root + '/winrt/10/src/Release_Win32/lib'])
@@ -141,7 +140,7 @@ def configure(env):
     winver = "0x0602" # Windows 8 is the minimum target for UWP build
     env.Append(CCFLAGS=['/DWINVER=%s' % winver, '/D_WIN32_WINNT=%s' % winver])
 
-    env.Append(CPPFLAGS=['/D', '__WRL_NO_DEFAULT_LIB__', '/D', 'WIN32'])
+    env.Append(CPPFLAGS=['/D', '__WRL_NO_DEFAULT_LIB__', '/D', 'WIN32', '/DPNG_ABORT=abort'])
 
     env.Append(CPPFLAGS=['/AI', vc_base_path + 'lib/store/references'])
     env.Append(CPPFLAGS=['/AI', vc_base_path + 'lib/x86/store/references'])