summaryrefslogtreecommitdiff
path: root/import-layers/meta-openembedded/meta-networking/recipes-support/tcpreplay/files/tcpreplay-3.4.4-fix-unable-to-link-libpcap-issue.patch
blob: 5f36c68c9bd1071f84ce8b9a6ab760b360aa0062 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Uptream-Status: Pending

Signed-off-by: Zongchun Yu <Zongchun.Yu@freescale.com>

Index: tcpreplay-3.4.4/configure.ac
===================================================================
--- tcpreplay-3.4.4.orig/configure.ac
+++ tcpreplay-3.4.4/configure.ac
@@ -389,7 +389,7 @@ CFLAGS="$CFLAGS -I$LPCAPINCDIR"
 AC_SEARCH_LIBS([pcap_close], [pcap],
     LPCAPLIB="$LIBS",
     AC_ERROR([Unable to link libpcap in ${foundpcap}]),
-    -lnl)
+    -lnl-3)
 
 AC_SUBST(LPCAPINC)
 AC_SUBST(LPCAPLIB)