From 4c21660a2d50278cfaffb1390945fff8a95e13c5 Mon Sep 17 00:00:00 2001 From: katsume Date: Thu, 23 Mar 2017 19:28:45 +0900 Subject: [PATCH] static link libstdc++ --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index db6dc73..562fafb 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ SRC = $(EXE).c CC = /usr/local/Cellar/gcc/6.3.0_1/bin/gcc-6 CXX = /usr/local/Cellar/gcc/6.3.0_1/bin/g++-6 CDEFS += -DDISABLE_LZO -DDISABLE_SSL -CFLAGS += -I/usr/include/malloc/ -Dunix -I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib +CFLAGS += -Dunix -I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib -static-libstdc++ all: