Skip to content

Commit d6dc439

Browse files
steveyeggeclaude
andcommitted
fix: codesign gt binary after install on macOS
The build target was signing the binary, but install just copied it without re-signing. On macOS, copying can invalidate signatures. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 6b8480c commit d6dc439

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ endif
2424

2525
install: build
2626
cp $(BUILD_DIR)/$(BINARY) ~/.local/bin/$(BINARY)
27+
ifeq ($(shell uname),Darwin)
28+
@codesign -s - -f ~/.local/bin/$(BINARY) 2>/dev/null || true
29+
endif
2730

2831
clean:
2932
rm -f $(BUILD_DIR)/$(BINARY)

0 commit comments

Comments
 (0)