From 81837e6c98466b1ea66d2b6b73fbcfc97fd497af Mon Sep 17 00:00:00 2001 From: Arnaud Date: Wed, 15 Oct 2025 16:21:28 +0200 Subject: [PATCH] debug --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 5dba1d4..3bcb96a 100644 --- a/Makefile +++ b/Makefile @@ -41,6 +41,10 @@ ifeq ($(UNAME_S),Darwin) endif build: +ifeq ($(UNAME_S),Darwin) +# install_name_tool -id @rpath/libcodex.dylib $(LIBS_DIR)/libcodex.dylib + otool -L libs/libcodex.dylib +endif CGO_ENABLED=1 CGO_CFLAGS="$(CGO_CFLAGS)" CGO_LDFLAGS="$(CGO_LDFLAGS)" go build -o $(BIN_NAME) main.go run: