mirror of
https://github.com/logos-storage/logos-storage-go-bindings-example.git
synced 2026-01-02 13:33:12 +00:00
debug
This commit is contained in:
parent
d9c474edea
commit
69b97497dc
5
Makefile
5
Makefile
@ -1,11 +1,12 @@
|
||||
# Destination folder for the downloaded libraries
|
||||
LIBS_DIR := $(abspath ./libs)
|
||||
# LIBS_DIR := $(abspath ./libs)
|
||||
LIBS_DIR := $(abspath ./libs2)
|
||||
|
||||
# Flags for CGO to find the headers and the shared library
|
||||
UNAME_S := $(shell uname -s)
|
||||
ifeq ($(UNAME_S),Darwin)
|
||||
CGO_CFLAGS := -I$(LIBS_DIR)
|
||||
CGO_LDFLAGS := -L$(LIBS_DIR) -lcodex -Wl,-rpath,@executable_path
|
||||
CGO_LDFLAGS := -L$(LIBS_DIR) -lcodex -Wl,-rpath,$(LIBS_DIR)
|
||||
else
|
||||
CGO_CFLAGS := -I$(LIBS_DIR)
|
||||
CGO_LDFLAGS := -L$(LIBS_DIR) -lcodex -Wl,-rpath,$(LIBS_DIR)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user