prashantgbhangre / android-scripting

Automatically exported from code.google.com/p/android-scripting
0 stars 0 forks source link

Enable Lua Socket Unix Sockets #152

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Please enable the optional unix sockets in lua socket.

--- a/makefile
+++ b/makefile
@@ -10,6 +10,8 @@
 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 +47,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

--- a/src/makefile
+++ b/src/makefile
@@ -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)

Original issue reported on code.google.com by daurnimator@gmail.com on 12 Dec 2009 at 5:30

GoogleCodeExporter commented 9 years ago

Original comment by damonkoh...@gmail.com on 2 May 2010 at 3:03