We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8827312 commit f0715d1Copy full SHA for f0715d1
Makefile
@@ -38,7 +38,7 @@ endif
38
39
build:
40
ifeq ($(UNAME_S),Darwin)
41
- install_name_tool -id @rpath/libcodex.dylib $(LIBS_DIR)/libcodex.dylib
+# install_name_tool -id @rpath/libcodex.dylib $(LIBS_DIR)/libcodex.dylib
42
endif
43
CGO_ENABLED=1 CGO_CFLAGS="$(CGO_CFLAGS)" CGO_LDFLAGS="$(CGO_LDFLAGS)" go build -o $(BIN_NAME) main.go
44
@@ -47,7 +47,7 @@ ifeq ($(OS),Windows_NT)
47
pwsh -File $(CURDIR)/.github/scripts/run-windows.ps1 -BinaryName $(BIN_NAME)
48
else ifeq ($(UNAME_S),Darwin)
49
# Instead of relying on install_name_tool, we can define DYLD_LIBRARY_PATH
50
-# DYLD_LIBRARY_PATH=$(LIBS_DIR) ./$(BIN_NAME)
+ DYLD_LIBRARY_PATH=$(LIBS_DIR) ./$(BIN_NAME)
51
./$(BIN_NAME)
52
else
53
0 commit comments