[Lldb-commits] [lldb] r202547 - Fixed configure-based build on OS X.

Todd Fiala tfiala at google.com
Fri Feb 28 13:55:46 PST 2014


Author: tfiala
Date: Fri Feb 28 15:55:46 2014
New Revision: 202547

URL: http://llvm.org/viewvc/llvm-project?rev=202547&view=rev
Log:
Fixed configure-based build on OS X.

This change adds a missing include path to the
ObjC LanguageRuntime path to the MacOSX SystemRuntime
plugin's Makefile.

It also adds the panel and curses library to the liblldb
shared library linkage step.

Changes by Jevin Sweval with a minor tweak.

Modified:
    lldb/trunk/lib/Makefile
    lldb/trunk/source/Plugins/SystemRuntime/MacOSX/Makefile

Modified: lldb/trunk/lib/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lib/Makefile?rev=202547&r1=202546&r2=202547&view=diff
==============================================================================
--- lldb/trunk/lib/Makefile (original)
+++ lldb/trunk/lib/Makefile Fri Feb 28 15:55:46 2014
@@ -130,7 +130,7 @@ ifeq ($(HOST_OS),Darwin)
 	LLVMLibsOptions += -framework Foundation -framework CoreFoundation
 	LLVMLibsOptions += -framework CoreServices -framework Carbon -framework Security
 	LLVMLibsOptions += -framework DebugSymbols $(PYTHON_BUILD_FLAGS) -lobjc
-	LLVMLibsOptions += -lxml2
+	LLVMLibsOptions += -lxml2 -ledit -lpanel -lcurses
 	ifneq ($(EXPORTED_SYMBOL_FILE),)
 		LLVMLibsOptions += -Wl,-exported_symbols_list -Wl,"$(EXPORTED_SYMBOL_FILE)"
 	endif

Modified: lldb/trunk/source/Plugins/SystemRuntime/MacOSX/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/SystemRuntime/MacOSX/Makefile?rev=202547&r1=202546&r2=202547&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/SystemRuntime/MacOSX/Makefile (original)
+++ lldb/trunk/source/Plugins/SystemRuntime/MacOSX/Makefile Fri Feb 28 15:55:46 2014
@@ -11,4 +11,5 @@ LLDB_LEVEL := ../../../..
 LIBRARYNAME := lldbPluginSystemRuntimeMacOSX
 BUILD_ARCHIVE = 1
 
+CPP.Flags += -I$(PROJ_SRC_DIR)/../../LanguageRuntime/ObjC/AppleObjCRuntime
 include $(LLDB_LEVEL)/Makefile





More information about the lldb-commits mailing list