Re: [tcpdump-workers] [PATCH][RFC] Allow linking from custom staticlib.a instead of list of object files

2010-01-08 Thread Guy Harris
On Jan 8, 2010, at 12:56 PM, Guy Harris wrote: > You might want to call it ARCHIVELIBS, by analogy to LIBS. Another possibility, if the routines are in an installed library, would be to just add that library to LIBS. The shared libpcap will be linked with all the libraries in LIBS, so program

Re: [tcpdump-workers] [PATCH][RFC] Allow linking from custom staticlib.a instead of list of object files

2010-01-08 Thread Guy Harris
On Jan 7, 2010, at 12:22 PM, Christian Bell wrote: > libpcap.a: $(OBJ) > @rm -f $@ > - ar rc $@ $(OBJ) $(ADDLARCHIVEOBJS) > + if test -n "$(ADDLARCHIVES)"; then \ > + EXTRA_OBJS=`ar t $(ADDLARCHIVES) | tr '\n' ' '`; \ > + ar x $(ADDLARCHIVES); \ > + fi; \ > +

Re: [tcpdump-workers] [PATCH] minor VPATH build fixes in top-level Makefile

2010-01-08 Thread Guy Harris
Checked in. - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.