From 75d8fc47a475d7e2685db26b6d1533efba5ca2d1 Mon Sep 17 00:00:00 2001 From: Zardasht Kaya Date: Sat, 18 Feb 2023 19:14:49 +0300 Subject: [PATCH] Update Makefile for macos --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ab41c3c..a4e00d0 100644 --- a/Makefile +++ b/Makefile @@ -33,13 +33,13 @@ IFILES = alloc-inl.h string-inl.h debug.h types.h http_client.h \ OBJFILES = $(patsubst %,$(SRCDIR)/%,$(SFILES)) INCFILES = $(patsubst %,$(SRCDIR)/%,$(IFILES)) -CFLAGS_GEN = -Wall -funsigned-char -g -ggdb -I/usr/local/include/ \ +CFLAGS_GEN = -Wall -funsigned-char -g -ggdb -I/opt/homebrew/opt/openssl@1.0/include -I/opt/homebrew/Cellar/libidn/1.41/include -I/usr/local/include/ \ -I/opt/local/include/ $(CFLAGS) -DVERSION=\"$(VERSION)\" CFLAGS_DBG = -DLOG_STDERR=1 -DDEBUG_ALLOCATOR=1 \ $(CFLAGS_GEN) CFLAGS_OPT = -O3 -Wno-format $(CFLAGS_GEN) -LDFLAGS += -L/usr/local/lib/ -L/opt/local/lib +LDFLAGS += -L/opt/homebrew/opt/openssl@1.0/lib -L/opt/homebrew/Cellar/libidn/1.41/lib -L/usr/local/lib/ LIBS += -lcrypto -lssl -lidn -lz -lpcre all: $(PROGNAME)