Author: ewancrawford Date: Thu Feb 18 11:01:40 2016 New Revision: 261227 URL: http://llvm.org/viewvc/llvm-project?rev=261227&view=rev Log: 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 Modified: lldb/trunk/source/API/liblldb.exports Modified: lldb/trunk/source/API/liblldb.exports URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/API/liblldb.exports?rev=261227&r1=261226&r2=261227&view=diff ============================================================================== --- lldb/trunk/source/API/liblldb.exports (original) +++ lldb/trunk/source/API/liblldb.exports Thu Feb 18 11:01:40 2016 @@ -1,4 +1,4 @@ _ZN4lldb* _ZNK4lldb* init_lld* -PyInit__lldb +PyInit__lldb* _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits