From 0594ac9ba0f38944ef810b5ac48a2067b1ce5a09 Mon Sep 17 00:00:00 2001
From: Joel Grunbaum <joelgrun@gmail.com>
Date: Tue, 11 Jan 2022 08:00:10 +0000
Subject: [PATCH] Copied libcurl's ftp example

---
 Makefile |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index bcc17bc..c4a87c1 100644
--- a/Makefile
+++ b/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

--
Gitblit v1.9.3