Revision: 4289
Author: [email protected]
Date: Fri Mar 26 00:47:41 2010
Log: Avoid having a LIBS setting when compiling the V8 library
because this interferes with the shared library build.
Only prepend v8 to the LIBS list when building samples
or cctest.
Review URL: http://codereview.chromium.org/1387004
http://code.google.com/p/v8/source/detail?r=4289
Modified:
/branches/bleeding_edge/SConstruct
=======================================
--- /branches/bleeding_edge/SConstruct Wed Mar 24 06:10:18 2010
+++ /branches/bleeding_edge/SConstruct Fri Mar 26 00:47:41 2010
@@ -1009,7 +1009,6 @@
# Link the object files into a library.
env.Replace(**context.flags['v8'])
- env.Prepend(LIBS=[library_name])
context.ApplyEnvOverrides(env)
if context.options['library'] == 'static':
@@ -1044,7 +1043,9 @@
sample_env.Depends(sample_program, library)
context.sample_targets.append(sample_program)
- cctest_program = env.SConscript(
+ cctest_env = env.Copy()
+ cctest_env.Prepend(LIBS=[library_name])
+ cctest_program = cctest_env.SConscript(
join('test', 'cctest', 'SConscript'),
build_dir=join('obj', 'test', target_id),
exports='context object_files',
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
To unsubscribe from this group, send email to v8-dev+unsubscribegooglegroups.com or reply
to this email with the words "REMOVE ME" as the subject.