SymbolVendor/ELF is actually referenced by default by lib/Makefile on all
platforms and called in lldb.cpp while it is built only on some, excluding OSX.
There is no reason to not build it then by default on all platforms.

This fixes build on OSX using llvm configure & make scripts.
---
source/Plugins/Makefile | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/source/Plugins/Makefile b/source/Plugins/Makefile
index 1fc5024..d639ea1 100644
--- a/source/Plugins/Makefile
+++ b/source/Plugins/Makefile
@@ -20,11 +20,8 @@ DIRS := ABI/MacOSX-arm ABI/MacOSX-i386 ABI/SysV-x86_64 Disassembler/llvm \
 	LanguageRuntime/CPlusPlus/ItaniumABI \
 	LanguageRuntime/ObjC/AppleObjCRuntime \
 	DynamicLoader/POSIX-DYLD \
-	OperatingSystem/Python
-
-ifeq ($(HOST_OS),MingW)
-DIRS += SymbolVendor/ELF
-endif
+	OperatingSystem/Python \
+	SymbolVendor/ELF
 
 ifeq ($(HOST_OS),Darwin)
 DIRS += Process/MacOSX-Kernel
@@ -38,13 +35,11 @@ endif
 ifeq ($(HOST_OS),Linux)
 DIRS += DynamicLoader/MacOSX-DYLD
 DIRS += Process/Linux Process/POSIX
-DIRS += SymbolVendor/ELF
 DIRS += Process/elf-core
 endif
 
 ifneq (,$(filter $(HOST_OS), FreeBSD GNU/kFreeBSD))
 DIRS += Process/FreeBSD Process/POSIX
-DIRS += SymbolVendor/ELF
 DIRS += Process/elf-core
 endif
 
_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to