packages/net/pcapsipdump/patches/001-cross_compile.patch

17 lines
770 B
Diff
Raw Normal View History

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