Joel Grunbaum
2022-01-11 d14f48a147190989d9b58f7b56429ac8711be077
Don't static compile on Darwin systems
2 files modified
8 ■■■■ changed files
.gitignore 1 ●●●● patch | view | raw | blame | history
Makefile 7 ●●●● patch | view | raw | blame | history
.gitignore
@@ -9,3 +9,4 @@
oneshot
build
test
click
Makefile
@@ -1,7 +1,10 @@
OS=$(shell uname)
CXX=g++
CXXFLAGS=-g -Wall -static
#LDFLAGS=-rpath=/lib64/libstdc++.so.6
CXXFLAGS=-g -Wall --std=c++20
ifneq ($(OS),Darwin)
CXXFLAGS += -static
endif
json=json.o
ws=easywsclient/easywsclient.o