diff options
author | Pavel Labath <labath@google.com> | 2015-04-07 14:55:11 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2015-04-07 14:55:11 +0000 |
commit | e4651eb0331d5d4daf1c9a4c05b449b8670b276a (patch) | |
tree | 836e1b3311c4a207155ee8aad3be13ceb9f9c478 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 676e516354c38ebb496c41cfa6560336de3f0535 (diff) | |
download | llvm-e4651eb0331d5d4daf1c9a4c05b449b8670b276a.zip llvm-e4651eb0331d5d4daf1c9a4c05b449b8670b276a.tar.gz llvm-e4651eb0331d5d4daf1c9a4c05b449b8670b276a.tar.bz2 |
Don't compile scripts directory if LLDB_DISABLE_PYTHON is set
Summary:
What looks like a typo has caused the scripts/Python directory to be compiled on non-Windows
platforms even with LLDB_DISABLE_PYTHON, which failed if Python.h was unavaiable. This changes
the condition to avoid compilation if LLDB_DISABLE_PYTHON is set.
Test Plan: Remove Python.h, verify compilation is successful.
Reviewers: zturner
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D8855
llvm-svn: 234319
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions