From 3b44b9827d5e9c6554c5600c45d832d4e6eb50f8 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sun, 21 Nov 2021 15:07:17 -0800 Subject: basic http requests starting to work In the process we're starting to load almost all of luasocket by default. And everything is working as expected, no unpleasant surprises. --- src/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index 2b3326d..691c57e 100644 --- a/src/Makefile +++ b/src/Makefile @@ -53,13 +53,13 @@ $(LUA_A): $(CORE_O) $(LIB_O) $(AR) $@ $(CORE_O) $(LIB_O) $(RANLIB) $@ -$(LUA_T): $(LUA_O) $(LUA_A) luasocket/socket.a - $(CC) -o $@ $(MYLDFLAGS) $(LUA_O) $(LUA_A) luasocket/socket.a $(LIBS) +$(LUA_T): $(LUA_O) $(LUA_A) luasocket/socket.a luasocket/mime.a + $(CC) -o $@ $(MYLDFLAGS) $(LUA_O) $(LUA_A) luasocket/socket.a luasocket/mime.a $(LIBS) $(LUAC_T): $(LUAC_O) $(LUA_A) $(CC) -o $@ $(MYLDFLAGS) $(LUAC_O) $(LUA_A) $(LIBS) -luasocket/socket.a: +luasocket/socket.a luasocket/mime.a: make -C luasocket linux clean: @@ -122,7 +122,7 @@ solaris: $(MAKE) all MYCFLAGS="-DLUA_USE_POSIX -DLUA_USE_DLOPEN" MYLIBS="-ldl" # list targets that do not create files (but not all makes understand .PHONY) -.PHONY: all $(PLATS) default o a clean depend echo none luasocket/socket.a +.PHONY: all $(PLATS) default o a clean depend echo none luasocket/socket.a luasocket/mime.a # DO NOT DELETE -- cgit 1.4.1-2-gfad0