[Lldb-commits] [PATCH] Support for running test suite using makefiles on Linux

Charles Davis cdavis at mymail.mines.edu
Sun Jun 19 12:56:06 PDT 2011

On 6/18/11 10:58 PM, Charles Davis wrote:
> On 6/18/11 6:32 PM, Peter Collingbourne wrote:
> [From patch 4]
>> @@ -35,21 +35,23 @@ LLDB_SWIG_INCLUDE_DIRS += -I"/usr/include"
>>  LLDBWrapPython.cpp:
> [...]
>> +	$(Verb) $(RM) -f $(PYTHON_DIR)/_lldb.so
>> +	$(Verb) $(AliasTool) $(LIBLLDB) $(PYTHON_DIR)/_lldb.so
> This can't work. At least, it can't if the $(AliasTool) expects the
> source file to exist. At first, I thought you'd need to depend on
> liblldb.so; but that won't work either, because liblldb.so depends on
> LLDBWrapPython.cpp! You'll have to make the _lldb.so symlink elsewhere.
Never mind. ln -s works even if the source file doesn't exist, even on
Darwin. But it wouldn't work on Windows, where the $(AliasTool) is not
'ln -s' but 'cp'/'copy'. But that's OK for now, because LLDB doesn't
even work on Windows :).


More information about the lldb-commits mailing list