blob: 07c9401fa356d6d95bcf927eeb3860682929d080 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
diff -wbBur luasocket-2.0.2/makefile luasocket-2.0.2.my/makefile
--- luasocket-2.0.2/makefile 2007-10-15 04:21:05.000000000 +0000
+++ luasocket-2.0.2.my/makefile 2011-03-09 12:00:54.000000000 +0000
@@ -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
diff -wbBur luasocket-2.0.2/src/makefile luasocket-2.0.2.my/src/makefile
--- luasocket-2.0.2/src/makefile 2007-10-15 04:21:05.000000000 +0000
+++ luasocket-2.0.2.my/src/makefile 2011-03-09 12:02:25.000000000 +0000
@@ -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)
|