aboutsummaryrefslogtreecommitdiff
path: root/configure.py
diff options
context:
space:
mode:
authorMarat Dukhan <maratek@google.com>2019-09-30 16:21:19 -0700
committerMarat Dukhan <maratek@google.com>2019-09-30 16:21:19 -0700
commit51d469480dde41c539172c1cdba851df762460a8 (patch)
tree3841e7a8589deab54c7421682583fcf20542ea55 /configure.py
parent714c953fb44bbbb1ae3e0e761b9e67cd40df41cf (diff)
downloadpthreadpool-51d469480dde41c539172c1cdba851df762460a8.tar.gz
Fix configure.py
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.py b/configure.py
index e0f0992..fd4ce92 100755
--- a/configure.py
+++ b/configure.py
@@ -14,9 +14,9 @@ def main(args):
with build.options(source_dir="src", extra_include_dirs="src", deps=build.deps.fxdiv):
sources = ["threadpool-legacy.c"]
if build.target.is_emscripten:
- source.append("threadpool-shim.c")
+ sources.append("threadpool-shim.c")
else:
- source.append("threadpool-pthreads.c")
+ sources.append("threadpool-pthreads.c")
build.static_library("pthreadpool", [build.cc(src) for src in sources])
with build.options(source_dir="test", deps=[build, build.deps.googletest]):