Index: src/untrusted/pthread/nacl.scons |
diff --git a/src/untrusted/pthread/nacl.scons b/src/untrusted/pthread/nacl.scons |
index 8d485380cd223acaf6cb729ad270c86d79deee61..9b2557071f9d1a5f7d2998cca7e17701014fefe9 100644 |
--- a/src/untrusted/pthread/nacl.scons |
+++ b/src/untrusted/pthread/nacl.scons |
@@ -30,11 +30,7 @@ nc_objs = [env.ComponentObject(module, module + '.c') |
] + [valgrind] |
# The public library relies on the IRT for crucial system services. |
-libpthread = env.NaClSdkLibrary( |
- 'libpthread', |
- nc_objs + ['nc_init_irt.c'], |
- # only enable shared versions of this library in the shared newlib case |
- no_shared_lib=not env.Bit('pnacl_shared_newlib')) |
+libpthread = env.ComponentLibrary('libpthread', nc_objs + ['nc_init_irt.c']) |
env.AddLibraryToSdk(libpthread) |
# The private library rolls in those IRT components. |