diff options
| author | Ewan Crawford <ewan@codeplay.com> | 2016-02-18 17:01:40 +0000 |
|---|---|---|
| committer | Ewan Crawford <ewan@codeplay.com> | 2016-02-18 17:01:40 +0000 |
| commit | c6bef146caf654f44f3176cba78fdec0ec235c8f (patch) | |
| tree | f46ebfb8096c42acaedc2c5161fe000715769605 /lldb/source | |
| parent | 4d9bb8d594ddd52cf7f547df5fd5cadb67ce3367 (diff) | |
| download | bcm5719-llvm-c6bef146caf654f44f3176cba78fdec0ec235c8f.tar.gz bcm5719-llvm-c6bef146caf654f44f3176cba78fdec0ec235c8f.zip | |
Fix OSX cmake build
Commit r260721(http://reviews.llvm.org/D17182) introduced the following error when building for OSX using cmake:
Undefined symbols for architecture x86_64:
"_PyInit__lldb", referenced from:
-exported_symbol[s_list] command line option
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Adding '*' to the regex solves this problem, since it makes the symbol optional.
Reviewers: sivachandra, zturner, labath
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D17384
llvm-svn: 261227
Diffstat (limited to 'lldb/source')
| -rw-r--r-- | lldb/source/API/liblldb.exports | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/API/liblldb.exports b/lldb/source/API/liblldb.exports index 2dc08e4dcb2..3ceb562c7ed 100644 --- a/lldb/source/API/liblldb.exports +++ b/lldb/source/API/liblldb.exports @@ -1,4 +1,4 @@ _ZN4lldb* _ZNK4lldb* init_lld* -PyInit__lldb +PyInit__lldb* |

