Update dependency

This commit is contained in:
Arnaud 2025-10-15 17:14:55 +02:00
parent 6ef24504c9
commit eb164349eb
No known key found for this signature in database
GPG Key ID: 20E40A5D3110766F
3 changed files with 4 additions and 2 deletions

View File

@ -5,7 +5,7 @@ LIBS_DIR := $(abspath ./libs)
UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Darwin)
CGO_CFLAGS := -I$(LIBS_DIR)
CGO_LDFLAGS := -L$(LIBS_DIR) -lcodex -Wl,-rpath,@executable_path/libs
CGO_LDFLAGS := -L$(LIBS_DIR) -lcodex -Wl,-rpath,@executable_path
else
CGO_CFLAGS := -I$(LIBS_DIR)
CGO_LDFLAGS := -L$(LIBS_DIR) -lcodex -Wl,-rpath,$(LIBS_DIR)

2
go.mod
View File

@ -2,4 +2,4 @@ module example
go 1.25.1
require github.com/codex-storage/codex-go-bindings v0.0.18
require github.com/codex-storage/codex-go-bindings v0.0.19

2
go.sum
View File

@ -16,3 +16,5 @@ github.com/codex-storage/codex-go-bindings v0.0.17 h1:lKtYBqUIDsZdgEe1f4DGfv/K+A
github.com/codex-storage/codex-go-bindings v0.0.17/go.mod h1:8yC11Vr1Mu5sqZyQ33GaSCr0uUIbQnGkm0aWqZj62Kg=
github.com/codex-storage/codex-go-bindings v0.0.18 h1:0l9XEoH9O5Akg7KCJreZq5jQxdky8Y79T/2TopHdBIY=
github.com/codex-storage/codex-go-bindings v0.0.18/go.mod h1:8yC11Vr1Mu5sqZyQ33GaSCr0uUIbQnGkm0aWqZj62Kg=
github.com/codex-storage/codex-go-bindings v0.0.19 h1:zhEhwzcavvYdfkHpB5BH+PaqYvQ4VonIKhebS1vbKh0=
github.com/codex-storage/codex-go-bindings v0.0.19/go.mod h1:8yC11Vr1Mu5sqZyQ33GaSCr0uUIbQnGkm0aWqZj62Kg=