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 dbb833b commit 0f86992Copy full SHA for 0f86992
Makefile
@@ -39,11 +39,13 @@ build:
39
ls -l $(LIBS_DIR)
40
go env CGO_LDFLAGS
41
CGO_ENABLED=1 CGO_CFLAGS="$(CGO_CFLAGS)" CGO_LDFLAGS="$(CGO_LDFLAGS)" go build -o $(BIN_NAME) main.go
42
-
43
run:
44
ifeq ($(OS),Windows_NT)
45
pwsh -Command "Copy-Item libs\libcodex.dll ."
46
pwsh -Command ".\$(BIN_NAME)"
+else ifeq ($(UNAME_S),Darwin)
47
+ otool -L libs/libcodex.dylib
48
+ DYLD_LIBRARY_PATH=$(LIBS_DIR) ./$(BIN_NAME)
49
else
50
./$(BIN_NAME)
51
endif
0 commit comments