about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-11-25 20:21:05 -0800
committerKartik K. Agaram <vc@akkartik.com>2021-11-25 20:21:05 -0800
commit73a22a397e8b41014e8c6684a381c9b0679b997f (patch)
tree152485f7fad8beb7c56df0bd81167725dcbdd8c6
parent16a98ea1b3f4e821e44bbf2caf821e23271bb510 (diff)
downloadteliva-73a22a397e8b41014e8c6684a381c9b0679b997f.tar.gz
libraries don't need Lua's `#define`s and whatnot
-rw-r--r--src/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index 5f98020..5b9edcf 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -51,8 +51,8 @@ $(LUA_A): $(CORE_O) $(LIB_O)
 	$(RANLIB) $@
 
 $(LUA_T): $(LUA_O) $(LUA_A)
-	make -C luasocket linux
-	make -C luasec linux
+	make -C luasocket MYCFLAGS= MYLDFLAGS= linux
+	make -C luasec MYCFLAGS= MYLDFLAGS= linux
 	$(CC) -o $@ $(MYLDFLAGS) $(LUA_O) $(LUA_A) luasocket/socket.a luasocket/mime.a luasec/ssl.a $(LIBS)
 
 clean: