Skip to content

Commit 0a9c536

Browse files
If Rust isn't configured to use libc++, enable_libcpp will be '' not '0'.
1 parent 3a0b410 commit 0a9c536

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/etc/mklldeps.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
enable_libcpp = sys.argv[4]
2020
llvm_config = sys.argv[5]
2121

22+
if enable_libcpp == '':
23+
enable_libcpp = '0'
24+
2225
f.write("""// Copyright 2013 The Rust Project Developers. See the COPYRIGHT
2326
// file at the top-level directory of this distribution and at
2427
// http://rust-lang.org/COPYRIGHT.

0 commit comments

Comments
 (0)