From c393fa04da4d31b9fbc0739d35034959ac0bba79 Mon Sep 17 00:00:00 2001 From: Arnaud Date: Wed, 15 Oct 2025 15:02:33 +0200 Subject: [PATCH] debug --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6d44694..a3c331b 100644 --- a/Makefile +++ b/Makefile @@ -35,9 +35,10 @@ fetch: unzip -o -qq $(LIBS_DIR)/codex-${OS}-${ARCH}.zip -d $(LIBS_DIR) rm -f $(LIBS_DIR)/*.zip # Update the path to the shared library on macOS -# ifeq ($(UNAME_S),Darwin) +ifeq ($(UNAME_S),Darwin) # install_name_tool -id @rpath/libcodex.dylib $(LIBS_DIR)/libcodex.dylib -# endif + otool -L libs/libcodex.dylib +endif build: CGO_ENABLED=1 CGO_CFLAGS="$(CGO_CFLAGS)" CGO_LDFLAGS="$(CGO_LDFLAGS)" go build -o $(BIN_NAME) main.go