[package] add pcapsipdump and link it against uclibc++ preferably (#4969)
[openwrt/svn-archive/archive.git] / net / pcapsipdump / patches / 001-cross_compile.patch
1 diff -urN pcapsipdump-0.1.4/Makefile pcapsipdump-0.1.4.new/Makefile
2 --- pcapsipdump-0.1.4/Makefile 2007-02-09 12:33:48.000000000 +0100
3 +++ pcapsipdump-0.1.4.new/Makefile 2009-05-12 12:01:02.000000000 +0200
4 @@ -1,10 +1,10 @@
5 all: pcapsipdump
6
7 pcapsipdump: pcapsipdump.cpp calltable.cpp calltable.h
8 - $(CC) $(CPPFLAGS) $(LDFLAGS) pcapsipdump.cpp calltable.cpp -o pcapsipdump -lpcap -lstdc++
9 + $(CC) $(CPPFLAGS) $(LDFLAGS) pcapsipdump.cpp calltable.cpp -o pcapsipdump $(LIBS)
10
11 pcapsipdump-debug: pcapsipdump.cpp calltable.cpp calltable.h
12 - $(CC) $(CPPFLAGS) $(LDFLAGS) -ggdb pcapsipdump.cpp calltable.cpp -o pcapsipdump-debug -lpcap -lstdc++
13 + $(CC) $(CPPFLAGS) $(LDFLAGS) -ggdb pcapsipdump.cpp calltable.cpp -o pcapsipdump-debug $(LIBS)
14
15 clean:
16 rm -f pcapsipdump