packages/net/pcapsipdump/patches/001-cross_compile.patch
florian 1a279dac63 [package] add pcapsipdump and link it against uclibc++ preferably (#4969)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@15795 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-12 10:06:43 +00:00

17 lines
770 B
Diff

diff -urN pcapsipdump-0.1.4/Makefile pcapsipdump-0.1.4.new/Makefile
--- pcapsipdump-0.1.4/Makefile 2007-02-09 12:33:48.000000000 +0100
+++ pcapsipdump-0.1.4.new/Makefile 2009-05-12 12:01:02.000000000 +0200
@@ -1,10 +1,10 @@
all: pcapsipdump
pcapsipdump: pcapsipdump.cpp calltable.cpp calltable.h
- $(CC) $(CPPFLAGS) $(LDFLAGS) pcapsipdump.cpp calltable.cpp -o pcapsipdump -lpcap -lstdc++
+ $(CC) $(CPPFLAGS) $(LDFLAGS) pcapsipdump.cpp calltable.cpp -o pcapsipdump $(LIBS)
pcapsipdump-debug: pcapsipdump.cpp calltable.cpp calltable.h
- $(CC) $(CPPFLAGS) $(LDFLAGS) -ggdb pcapsipdump.cpp calltable.cpp -o pcapsipdump-debug -lpcap -lstdc++
+ $(CC) $(CPPFLAGS) $(LDFLAGS) -ggdb pcapsipdump.cpp calltable.cpp -o pcapsipdump-debug $(LIBS)
clean:
rm -f pcapsipdump