We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28791f5 commit 9e6c211Copy full SHA for 9e6c211
Makefile
@@ -4,13 +4,8 @@ LIBS_DIR := $(abspath ./libs)
4
UNAME_S := $(shell uname -s)
5
6
# Flags for CGO to find the headers and the shared library
7
-ifeq ($(UNAME_S),Darwin)
8
- CGO_CFLAGS := -I$(LIBS_DIR)
9
- CGO_LDFLAGS := -L$(LIBS_DIR) -lcodex -Wl,-rpath,@executable_path/./libs
10
-else
11
12
- CGO_LDFLAGS := -L$(LIBS_DIR) -lcodex -Wl,-rpath,$(LIBS_DIR)
13
-endif
+CGO_CFLAGS := -I$(LIBS_DIR)
+CGO_LDFLAGS := -L$(LIBS_DIR) -lcodex -Wl,-rpath,$(LIBS_DIR)
14
15
ifeq ($(OS),Windows_NT)
16
BIN_NAME := example.exe
0 commit comments