mirror of
https://github.com/logos-storage/logos-storage-go-bindings-example.git
synced 2026-01-07 16:03:11 +00:00
debug
This commit is contained in:
parent
6ef24504c9
commit
2fe39256c1
6
Makefile
6
Makefile
@ -35,9 +35,9 @@ fetch:
|
|||||||
unzip -o -qq $(LIBS_DIR)/codex-${OS}-${ARCH}.zip -d $(LIBS_DIR)
|
unzip -o -qq $(LIBS_DIR)/codex-${OS}-${ARCH}.zip -d $(LIBS_DIR)
|
||||||
rm -f $(LIBS_DIR)/*.zip
|
rm -f $(LIBS_DIR)/*.zip
|
||||||
# Update the path to the shared library on macOS
|
# 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
|
# install_name_tool -id @rpath/libcodex.dylib $(LIBS_DIR)/libcodex.dylib
|
||||||
endif
|
# endif
|
||||||
|
|
||||||
build:
|
build:
|
||||||
CGO_ENABLED=1 CGO_CFLAGS="$(CGO_CFLAGS)" CGO_LDFLAGS="$(CGO_LDFLAGS)" go build -o $(BIN_NAME) main.go
|
CGO_ENABLED=1 CGO_CFLAGS="$(CGO_CFLAGS)" CGO_LDFLAGS="$(CGO_LDFLAGS)" go build -o $(BIN_NAME) main.go
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user