Blob Blame Raw
diff -ur luasocket-2.0.2.bak//makefile luasocket-2.0.2/makefile
--- luasocket-2.0.2.bak//makefile	2007-10-15 00:21:05.000000000 -0400
+++ luasocket-2.0.2/makefile	2011-07-12 10:30:37.340052899 -0400
@@ -10,6 +10,7 @@
 INSTALL_SOCKET_LIB=$(INSTALL_TOP_LIB)/socket
 INSTALL_MIME_SHARE=$(INSTALL_TOP_SHARE)/mime
 INSTALL_MIME_LIB=$(INSTALL_TOP_LIB)/mime
+INSTALL_UNIX_LIB=$(INSTALL_SOCKET_LIB)
 
 all clean:
 	cd src; $(MAKE) $@
@@ -45,6 +46,8 @@
 	#cd src; $(INSTALL_DATA) $(TO_MIME_SHARE) $(INSTALL_MIME_SHARE)
 	cd src; mkdir -p $(INSTALL_MIME_LIB)
 	cd src; $(INSTALL_EXEC) $(MIME_SO) $(INSTALL_MIME_LIB)/core.$(EXT)
+	cd src; mkdir -p $(INSTALL_UNIX_LIB)
+	cd src; $(INSTALL_EXEC) $(UNIX_SO) $(INSTALL_UNIX_LIB)/$(UNIX_SO)
 
 #------
 # End of makefile
diff -ur luasocket-2.0.2.bak//src/makefile luasocket-2.0.2/src/makefile
--- luasocket-2.0.2.bak//src/makefile	2007-10-15 00:21:05.000000000 -0400
+++ luasocket-2.0.2/src/makefile	2011-07-12 10:29:49.794050617 -0400
@@ -47,7 +47,7 @@
 	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)