Skip to content

Commit

Permalink
ofp-tcpdump: Fix tcpdump patch breakage due to libtool.
Browse files Browse the repository at this point in the history
The recently introduced use of libtool, in commit 38b7a52
(openvswitch: Use libtool and allow building shared libs) broke the
tcpdump patch.  This fixes the problem.

Signed-off-by: Ben Pfaff <[email protected]>
Acked-by: Justin Pettit <[email protected]>
  • Loading branch information
blp committed Dec 18, 2013
1 parent 9a65230 commit bb1329e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions third-party/ofp-tcpdump.patch
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,15 @@

LIBNETDISSECT_SRC=print-isakmp.c
LIBNETDISSECT_OBJ=$(LIBNETDISSECT_SRC:.c=.o)
@@ -363,7 +364,7 @@ all: $(PROG)

$(PROG): $(OBJ)
@rm -f $@
- $(CC) $(FULL_CFLAGS) $(LDFLAGS) -o $@ $(OBJ) $(LIBS)
+ libtool --mode=link $(CC) $(FULL_CFLAGS) $(LDFLAGS) -o $@ $(OBJ) $(LIBS)

$(LIBNETDISSECT): $(LIBNETDISSECT_OBJ)
@rm -f $@
--- tcpdump/print-openflow.c 1969-12-31 16:00:00.000000000 -0800
+++ tcpdump/print-openflow.c 2009-05-11 15:38:41.000000000 -0700
@@ -0,0 +1,45 @@
Expand Down

0 comments on commit bb1329e

Please sign in to comment.