mirror of
https://github.com/logos-storage/logos-storage-go-bindings-example.git
synced 2026-01-04 06:23:07 +00:00
Debugging macos
This commit is contained in:
parent
28791f5c35
commit
9e6c2114b3
9
Makefile
9
Makefile
@ -4,13 +4,8 @@ LIBS_DIR := $(abspath ./libs)
|
|||||||
UNAME_S := $(shell uname -s)
|
UNAME_S := $(shell uname -s)
|
||||||
|
|
||||||
# Flags for CGO to find the headers and the shared library
|
# Flags for CGO to find the headers and the shared library
|
||||||
ifeq ($(UNAME_S),Darwin)
|
CGO_CFLAGS := -I$(LIBS_DIR)
|
||||||
CGO_CFLAGS := -I$(LIBS_DIR)
|
CGO_LDFLAGS := -L$(LIBS_DIR) -lcodex -Wl,-rpath,$(LIBS_DIR)
|
||||||
CGO_LDFLAGS := -L$(LIBS_DIR) -lcodex -Wl,-rpath,@executable_path/./libs
|
|
||||||
else
|
|
||||||
CGO_CFLAGS := -I$(LIBS_DIR)
|
|
||||||
CGO_LDFLAGS := -L$(LIBS_DIR) -lcodex -Wl,-rpath,$(LIBS_DIR)
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(OS),Windows_NT)
|
ifeq ($(OS),Windows_NT)
|
||||||
BIN_NAME := example.exe
|
BIN_NAME := example.exe
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user