summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test
diff options
context:
space:
mode:
authorFrederic Riss <friss@apple.com>2019-10-09 22:35:56 +0000
committerFrederic Riss <friss@apple.com>2019-10-09 22:35:56 +0000
commit0e891bcf797f3cde3e6ba0baa6b21ecb650f5a78 (patch)
treeb337820bafa81a31283b2ce5f9f46609bb9bfed8 /lldb/packages/Python/lldbsuite/test
parent1a509417714dbf658c04aabc66ff599a70f176cc (diff)
downloadbcm5719-llvm-0e891bcf797f3cde3e6ba0baa6b21ecb650f5a78.tar.gz
bcm5719-llvm-0e891bcf797f3cde3e6ba0baa6b21ecb650f5a78.zip
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. llvm-svn: 374251
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
-rw-r--r--lldb/packages/Python/lldbsuite/test/make/Makefile.rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/make/Makefile.rules b/lldb/packages/Python/lldbsuite/test/make/Makefile.rules
index 0a0ac3f2da8..378e9ec99ba 100644
--- a/lldb/packages/Python/lldbsuite/test/make/Makefile.rules
+++ b/lldb/packages/Python/lldbsuite/test/make/Makefile.rules
@@ -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
OpenPOWER on IntegriCloud