[Lldb-commits] [lldb] r131707 - /lldb/trunk/lib/Makefile
Charles Davis
cdavis at mines.edu
Thu May 19 16:53:23 PDT 2011
Author: cdavis
Date: Thu May 19 18:53:23 2011
New Revision: 131707
URL: http://llvm.org/viewvc/llvm-project?rev=131707&view=rev
Log:
Add the LanguageRuntime plugins to liblldb. Fixes link errors for me; if this
breaks it for you (or if the LanguageRuntime plugins break the build on your
machine), please let me know and I'll revert.
Also, link to CoreServices and Carbon on Mac. Yep, LLDB needs these ancient
frameworks.
Modified:
lldb/trunk/lib/Makefile
Modified: lldb/trunk/lib/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lib/Makefile?rev=131707&r1=131706&r2=131707&view=diff
==============================================================================
--- lldb/trunk/lib/Makefile (original)
+++ lldb/trunk/lib/Makefile Thu May 19 18:53:23 2011
@@ -34,6 +34,8 @@
lldbPluginDisassemblerLLVM.a \
lldbPluginDynamicLoaderStatic.a \
lldbPluginEmulateInstructionARM.a \
+ lldbPluginLanguageRuntimeCPlusPlusItaniumABI.a \
+ lldbPluginLanguageRuntimeObjCAppleObjCRuntime.a \
lldbPluginObjectContainerBSDArchive.a \
lldbPluginObjectFileELF.a \
lldbPluginPlatformGDBServer.a \
@@ -63,7 +65,7 @@
include $(LLDB_LEVEL)/../../Makefile.config
LINK_COMPONENTS := $(TARGETS_TO_BUILD) asmparser bitreader bitwriter codegen \
- ipo selectiondag jit mc instrumentation
+ instrumentation ipo selectiondag jit mc
ifeq ($(HOST_OS),Darwin)
USEDLIBS += lldbHostMacOSX.a \
@@ -94,7 +96,8 @@
# extra options to override libtool defaults
LLVMLibsOptions += -avoid-version
LLVMLibsOptions += -F/System/Library/Frameworks -F/System/Library/PrivateFrameworks
- LLVMLibsOptions += -framework Foundation -framework CoreFoundation
+ LLVMLibsOptions += -framework Foundation -framework CoreFoundation
+ LLVMLibsOptions += -framework CoreServices -framework Carbon
LLVMLibsOptions += -framework DebugSymbols $(PYTHON_BUILD_FLAGS) -lobjc
LLVMLibsOptions += -Wl,-exported_symbols_list -Wl,"$(PROJ_SRC_DIR)/$(LLDB_LEVEL)/resources/lldb-framework-exports"
# Mac OS X 10.4 and earlier tools do not allow a second -install_name on command line
More information about the lldb-commits
mailing list