From 7d71663f1a9e8c8e6684334dec375f280901ba7f Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 27 Nov 2021 08:10:18 -0800 Subject: one final issue building on Mac OS X --- src/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/Makefile b/src/Makefile index d4de298..331b2f8 100644 --- a/src/Makefile +++ b/src/Makefile @@ -12,7 +12,7 @@ CFLAGS= -g -O2 -std=c99 -Wall -Wshadow $(MYCFLAGS) AR= ar rc RANLIB= ranlib RM= rm -f -LIBS= -lm -lssl -lcrypto $(MYLIBS) +LIBS= -lm $(MYLIBS) -lssl -lcrypto MYCFLAGS= MYLDFLAGS= @@ -105,7 +105,7 @@ macosx: $(MAKE) -C lcurses $(MAKE) -C luasocket macosx $(MAKE) -C luasec macosx - $(MAKE) all MYCFLAGS="-Wpedantic -DLUA_USE_LINUX" MYLIBS="-lncurses" + $(MAKE) all MYCFLAGS="-Wpedantic -DLUA_USE_LINUX" MYLIBS="-L/usr/local/opt/openssl@3/lib -lncurses" # use this on Mac OS X 10.3- # $(MAKE) all MYCFLAGS=-DLUA_USE_MACOSX -- cgit 1.4.1-2-gfad0