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

Unified Diff: third_party/bzip2/bzip2.scons

Issue 11430: Fix use of LOAD= with WantSystemLib()... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month 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
Index: third_party/bzip2/bzip2.scons
===================================================================
--- third_party/bzip2/bzip2.scons (revision 5775)
+++ third_party/bzip2/bzip2.scons (working copy)
@@ -8,8 +8,17 @@
Import('env')
+if env.WantSystemLib('bzip2'):
+ Return()
+
env = env.Clone()
+env.Append(
+ CPPDEFINES = [
+ 'BZ_NO_STDIO',
+ ],
+)
+
if env['PLATFORM'] == 'win32':
env.Append(
CCFLAGS = [
@@ -19,12 +28,6 @@
],
)
-env.Append(
- CPPDEFINES = [
- 'BZ_NO_STDIO',
- ],
-)
-
input_files = [
'blocksort.c',
'bzlib.c',

Powered by Google App Engine
This is Rietveld 408576698