mirror of
https://github.com/logos-storage/logos-storage-go-bindings-example.git
synced 2026-01-03 05:53:12 +00:00
Debug
This commit is contained in:
parent
055f25d4c8
commit
8b29e8f977
5
Makefile
5
Makefile
@ -39,9 +39,12 @@ endif
|
||||
build:
|
||||
CGO_ENABLED=1 CGO_CFLAGS="$(CGO_CFLAGS)" CGO_LDFLAGS="$(CGO_LDFLAGS)" go build -o $(BIN_NAME) main.go
|
||||
|
||||
run:
|
||||
ifeq ($(OS),Windows_NT)
|
||||
PS_CMD := $$env:PATH += ';./libs'; .\$(BIN_NAME)
|
||||
endif
|
||||
|
||||
run:
|
||||
ifeq ($(OS),Windows_NT)
|
||||
pwsh -Command "$(PS_CMD)"
|
||||
else ifeq ($(UNAME_S),Darwin)
|
||||
# Instead of relying on install_name_tool, we can define DYLD_LIBRARY_PATH
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user