[Lldb-commits] [lldb] r374251 - Makefile.rules: add missing CODESIGN call
Frederic Riss via lldb-commits
lldb-commits at lists.llvm.org
Wed Oct 9 15:35:57 PDT 2019
Author: friss
Date: Wed Oct 9 15:35:56 2019
New Revision: 374251
URL: http://llvm.org/viewvc/llvm-project?rev=374251&view=rev
Log:
Makefile.rules: add missing CODESIGN call
When building an executable and a shared library at the same time (yes,
Makefile.rules is setup to do this!) the executable was not codesigned.
Modified:
lldb/trunk/packages/Python/lldbsuite/test/make/Makefile.rules
Modified: lldb/trunk/packages/Python/lldbsuite/test/make/Makefile.rules
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/make/Makefile.rules?rev=374251&r1=374250&r2=374251&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/make/Makefile.rules (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/make/Makefile.rules Wed Oct 9 15:35:56 2019
@@ -609,6 +609,9 @@ ifneq "$(DYLIB_NAME)" ""
ifeq "$(DYLIB_ONLY)" ""
$(EXE) : $(OBJECTS) $(ARCHIVE_NAME) $(DYLIB_FILENAME)
$(LD) $(OBJECTS) $(ARCHIVE_NAME) -L. -l$(DYLIB_NAME) $(LDFLAGS) -o "$(EXE)"
+ifneq "$(CODESIGN)" ""
+ $(CODESIGN) -s - "$(EXE)"
+endif
else
EXE = $(DYLIB_FILENAME)
endif
More information about the lldb-commits
mailing list