about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-11-27 08:10:18 -0800
committerKartik K. Agaram <vc@akkartik.com>2021-11-27 08:10:18 -0800
commit7d71663f1a9e8c8e6684334dec375f280901ba7f (patch)
treea025267c1c7e6a434bfec7eb59574915fbacfcf8
parent7814c1c98a42f2d295ac38112f98c872701213b6 (diff)
downloadteliva-7d71663f1a9e8c8e6684334dec375f280901ba7f.tar.gz
one final issue building on Mac OS X
-rw-r--r--src/Makefile4
1 files changed, 2 insertions, 2 deletions
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