From f0715d100dd76959d0944e4bd439f6152a1f18d1 Mon Sep 17 00:00:00 2001 From: Arnaud Date: Thu, 16 Oct 2025 05:43:43 +0200 Subject: [PATCH] Debug --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7dcf2e8..de042d9 100644 --- a/Makefile +++ b/Makefile @@ -38,7 +38,7 @@ endif build: ifeq ($(UNAME_S),Darwin) - install_name_tool -id @rpath/libcodex.dylib $(LIBS_DIR)/libcodex.dylib +# install_name_tool -id @rpath/libcodex.dylib $(LIBS_DIR)/libcodex.dylib endif CGO_ENABLED=1 CGO_CFLAGS="$(CGO_CFLAGS)" CGO_LDFLAGS="$(CGO_LDFLAGS)" go build -o $(BIN_NAME) main.go @@ -47,7 +47,7 @@ ifeq ($(OS),Windows_NT) pwsh -File $(CURDIR)/.github/scripts/run-windows.ps1 -BinaryName $(BIN_NAME) else ifeq ($(UNAME_S),Darwin) # Instead of relying on install_name_tool, we can define DYLD_LIBRARY_PATH -# DYLD_LIBRARY_PATH=$(LIBS_DIR) ./$(BIN_NAME) + DYLD_LIBRARY_PATH=$(LIBS_DIR) ./$(BIN_NAME) ./$(BIN_NAME) else ./$(BIN_NAME)