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
This commit is contained in:
Ewan Crawford 2016-02-18 17:01:40 +00:00
parent 4d9bb8d594
commit c6bef146ca

View File

@ -1,4 +1,4 @@
_ZN4lldb*
_ZNK4lldb*
init_lld*
PyInit__lldb
PyInit__lldb*