aboutsummaryrefslogblamecommitdiffstats
path: root/main/lua-socket/unix.patch
blob: 3de1238469cfabd13b5561825321e8d6c2f868d7 (plain) (tree)
























                                                                              
diff --git a/makefile b/makefile
index 6d70039..a46617a 100644
--- a/makefile
+++ b/makefile
@@ -41,6 +41,7 @@ install: all
 	cd src; $(INSTALL_DATA) $(TO_SOCKET_SHARE) $(INSTALL_SOCKET_SHARE)
 	cd src; mkdir -p $(INSTALL_SOCKET_LIB)
 	cd src; $(INSTALL_EXEC) $(SOCKET_SO) $(INSTALL_SOCKET_LIB)/core.$(EXT)
+	cd src; $(INSTALL_EXEC) $(UNIX_SO) $(INSTALL_SOCKET_LIB)/unix.$(EXT)
 	#cd src; mkdir -p $(INSTALL_MIME_SHARE)
 	#cd src; $(INSTALL_DATA) $(TO_MIME_SHARE) $(INSTALL_MIME_SHARE)
 	cd src; mkdir -p $(INSTALL_MIME_LIB)
diff --git a/src/makefile b/src/makefile
index b614f77..9a61fb6 100644
--- a/src/makefile
+++ b/src/makefile
@@ -47,7 +47,7 @@ UNIX_OBJS:=\
 	usocket.o \
 	unix.o
 
-all: $(SOCKET_SO) $(MIME_SO) 
+all: $(SOCKET_SO) $(MIME_SO) $(UNIX_SO)
 
 $(SOCKET_SO): $(SOCKET_OBJS)
 	$(LD) $(LDFLAGS) -o $@ $(SOCKET_OBJS)