blob: 1f0c6c024ebf22c71c22cc128b23dcd8a57a5b04 (
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
|
diff -ru libnids-1.23/src/Makefile.in libnids-1.23+iPhone/src/Makefile.in
--- libnids-1.23/src/Makefile.in 2008-02-21 10:40:19.000000000 +0000
+++ libnids-1.23+iPhone/src/Makefile.in 2009-01-26 12:14:17.000000000 +0000
@@ -13,7 +13,7 @@
libdir = @libdir@
mandir = @mandir@
LIBSTATIC = libnids.a
-LIBSHARED = libnids.so.1.23
+LIBSHARED = libnids.1.23.dylib
CC = @CC@
CFLAGS = @CFLAGS@ -W -Wall -DLIBNET_VER=@LIBNET_VER@ -DHAVE_ICMPHDR=@ICMPHEADER@ -DHAVE_TCP_STATES=@TCPSTATES@ -DHAVE_BSD_UDPHDR=@HAVE_BSD_UDPHDR@
@@ -65,7 +65,7 @@
ar -cr $@ $(OBJS)
$(RANLIB) $@
$(LIBSHARED): $(OBJS_SHARED)
- $(CC) -shared -Wl,-soname,$(LIBSHARED) -o $(LIBSHARED) $(OBJS_SHARED) $(LIBS) $(LNETLIB) $(PCAPLIB)
+ $(CC) -shared -install_name $(libdir)/$(LIBSHARED) -o $(LIBSHARED) $(OBJS_SHARED) $(LIBS) $(LNETLIB) $(PCAPLIB)
_install install: $(LIBSTATIC)
../mkinstalldirs $(install_prefix)$(libdir)
@@ -76,7 +76,7 @@
$(INSTALL) -c -m 644 libnids.3 $(install_prefix)$(mandir)/man3
_installshared installshared: install $(LIBSHARED)
$(INSTALL) -c -m 755 $(LIBSHARED) $(install_prefix)$(libdir)
- ln -s -f $(LIBSHARED) $(install_prefix)$(libdir)/libnids.so
+ ln -s -f $(LIBSHARED) $(install_prefix)$(libdir)/libnids.dylib
clean:
rm -f *.o *~ $(LIBSTATIC) $(LIBSHARED)
|