From 66f6b985234427a24bb1f401d6b0480d71c5e7da Mon Sep 17 00:00:00 2001 From: Arnaud Date: Wed, 15 Oct 2025 18:54:56 +0200 Subject: [PATCH] debug --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 1d11fe8..e2c29ae 100644 --- a/Makefile +++ b/Makefile @@ -40,6 +40,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: