summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xnative_client_sdk/src/build_tools/make_rules.py2
-rw-r--r--native_client_sdk/src/examples/pi_generator/example.dsc1
-rw-r--r--native_client_sdk/src/libraries/pthread/library.dsc3
3 files changed, 1 insertions, 5 deletions
diff --git a/native_client_sdk/src/build_tools/make_rules.py b/native_client_sdk/src/build_tools/make_rules.py
index 02752dc..9b2a947 100755
--- a/native_client_sdk/src/build_tools/make_rules.py
+++ b/native_client_sdk/src/build_tools/make_rules.py
@@ -57,7 +57,7 @@ WIN_CC?=cl.exe /nologo
WIN_CXX?=cl.exe /nologo
WIN_LINK?=link.exe /nologo
WIN_LIB?=lib.exe /nologo
-WIN_CCFLAGS=/I$(NACL_SDK_ROOT)/include /I$(NACL_SDK_ROOT)/include/win -D WIN32 -D _WIN32
+WIN_CCFLAGS=/I$(NACL_SDK_ROOT)/include /I$(NACL_SDK_ROOT)/include/win -D WIN32 -D _WIN32 -D PTW32_STATIC_LIB
"""
#
diff --git a/native_client_sdk/src/examples/pi_generator/example.dsc b/native_client_sdk/src/examples/pi_generator/example.dsc
index 9e177e0..926cb59 100644
--- a/native_client_sdk/src/examples/pi_generator/example.dsc
+++ b/native_client_sdk/src/examples/pi_generator/example.dsc
@@ -9,7 +9,6 @@
'pi_generator.h',
'pi_generator_module.cc'
],
- 'DEFINES': ['PTW32_STATIC_LIB'],
'LIBS': ['ppapi_cpp', 'ppapi', 'pthread']
}
],
diff --git a/native_client_sdk/src/libraries/pthread/library.dsc b/native_client_sdk/src/libraries/pthread/library.dsc
index e4838a52..9d8cd1c 100644
--- a/native_client_sdk/src/libraries/pthread/library.dsc
+++ b/native_client_sdk/src/libraries/pthread/library.dsc
@@ -7,9 +7,6 @@
{
'NAME' : 'pthread',
'TYPE' : 'lib',
- 'DEFINES': [
- 'PTW32_STATIC_LIB',
- ],
'SOURCES' : [
'autostatic.c',
'cleanup.c',