Created
April 30, 2012 22:32
-
-
Save iwadon/2563272 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/configure.py b/configure.py | |
| index b7d7908..278d42e 100755 | |
| --- a/configure.py | |
| +++ b/configure.py | |
| @@ -246,7 +246,7 @@ n.comment('Main executable is library plus main() function.') | |
| objs = cxx('ninja') | |
| ninja = n.build(binary('ninja'), 'link', objs, implicit=ninja_lib, | |
| variables=[('libs', libs)]) | |
| -if ninja != 'ninja': | |
| +if ninja != ['ninja']: | |
| n.build('ninja', 'phony', ninja) | |
| n.newline() | |
| all_targets += ninja | |
| @@ -300,7 +300,7 @@ if platform != 'mingw' and platform != 'windows': | |
| ninja_test = n.build(binary('ninja_test'), 'link', objs, implicit=ninja_lib, | |
| variables=[('ldflags', test_ldflags), | |
| ('libs', test_libs)]) | |
| -if ninja_test != 'ninja_test': | |
| +if ninja_test != ['ninja_test']: | |
| n.build('ninja_test', 'phony', ninja_test) | |
| n.newline() | |
| all_targets += ninja_test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment