diff -r 6f77c32cf359 -r e2fc423a4fd5 components/libnet/patches/makefile.in.patch --- a/components/libnet/patches/makefile.in.patch Wed Jan 11 06:57:58 2012 -0800 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,41 +0,0 @@ ---- libnet-1.1.2.1/src/Makefile.in.orig Thu Jul 14 14:55:19 2011 -+++ libnet-1.1.2.1/src/Makefile.in Thu Jul 14 14:55:34 2011 -@@ -109,7 +109,7 @@ - - DISTCLEANFILES = *~ - --lib_LIBRARIES = libnet.a -+lib_LIBRARIES = libnet.a libnet.so - - libnet_a_SOURCES = libnet_asn1.c \ - libnet_build_802.1q.c \ -@@ -163,7 +163,7 @@ - libnet_link_dlpi.c \ - libnet_link_linux.c \ - libnet_link_nit.c \ -- libnet_link_none.c \ -+ libnet_link_none.c \ - libnet_link_pf.c \ - libnet_link_snit.c \ - libnet_link_snoop.c \ -@@ -269,6 +269,10 @@ - $(libnet_a_AR) libnet.a $(libnet_a_OBJECTS) $(libnet_a_LIBADD) - $(RANLIB) libnet.a - -+libnet.so: $(libnet_a_OBJECTS) $(libnet_a_DEPENDENCIES) -+ -rm -f libnet.so -+ $(CC) $(CFLAGS) -shared -o libnet.so $(libnet_a_OBJECTS) $(libnet_a_LIBADD) -Wl,-soname=libnet.so -+ - mostlyclean-compile: - -rm -f *.$(OBJEXT) core *.core - -@@ -379,6 +383,9 @@ - - clean-am: clean-generic clean-libLIBRARIES mostlyclean-am - -+clean-obj: -+ rm -f *.o -+ - distclean: distclean-am - - distclean-am: clean-am distclean-compile distclean-generic \