diff options
author | Jay Freeman <saurik@saurik.com> | 2009-01-26 13:03:59 +0000 |
---|---|---|
committer | Jay Freeman <saurik@saurik.com> | 2009-01-26 13:03:59 +0000 |
commit | a562df253f12ea3a56749e46d8aa49712d138197 (patch) | |
tree | 3a3c5fe718af1f0b4493bb20df5b6a4fefa08a52 /data/libnids/dylib.diff | |
parent | 3052cb36ed4556b7ae0efd615dffb81616abffce (diff) |
Added libnids for Collin Mulliner.
git-svn-id: http://svn.telesphoreo.org/trunk@536 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/libnids/dylib.diff')
-rw-r--r-- | data/libnids/dylib.diff | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/data/libnids/dylib.diff b/data/libnids/dylib.diff new file mode 100644 index 000000000..1f0c6c024 --- /dev/null +++ b/data/libnids/dylib.diff @@ -0,0 +1,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) |