Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(200)

Unified Diff: src/untrusted/pthread/nacl.scons

Issue 10416014: Route the buiding of libnosys, libpthread through NaClSdkLibrary. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/untrusted/nosys/nacl.scons ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/untrusted/pthread/nacl.scons
===================================================================
--- src/untrusted/pthread/nacl.scons (revision 8686)
+++ src/untrusted/pthread/nacl.scons (working copy)
@@ -1,5 +1,5 @@
# -*- python -*-
-# Copyright (c) 2011 The Native Client Authors. All rights reserved.
+# Copyright (c) 2012 The Native Client Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
@@ -23,7 +23,11 @@
] + [valgrind]
# The public library relies on the IRT for crucial system services.
-libpthread = env.ComponentLibrary('libpthread', nc_objs + ['nc_init_irt.c'])
+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'))
env.AddLibraryToSdk(libpthread)
# The private library rolls in those IRT components.
« no previous file with comments | « src/untrusted/nosys/nacl.scons ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698