summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/libpcap/libpcap-1.3.0/0001-canusb-needs-lpthread.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/libpcap/libpcap-1.3.0/0001-canusb-needs-lpthread.patch')
-rw-r--r--meta/recipes-connectivity/libpcap/libpcap-1.3.0/0001-canusb-needs-lpthread.patch17
1 files changed, 3 insertions, 14 deletions
diff --git a/meta/recipes-connectivity/libpcap/libpcap-1.3.0/0001-canusb-needs-lpthread.patch b/meta/recipes-connectivity/libpcap/libpcap-1.3.0/0001-canusb-needs-lpthread.patch
index 94788aa3c4..e7456b799b 100644
--- a/meta/recipes-connectivity/libpcap/libpcap-1.3.0/0001-canusb-needs-lpthread.patch
+++ b/meta/recipes-connectivity/libpcap/libpcap-1.3.0/0001-canusb-needs-lpthread.patch
@@ -7,24 +7,13 @@ Subject: [PATCH] canusb: needs -lpthread
7 7
8canusb uses pthreads, but -lpthread is never added to LIBS hence missing 8canusb uses pthreads, but -lpthread is never added to LIBS hence missing
9from pcap-config, causing build failures. Fix this. 9from pcap-config, causing build failures. Fix this.
10
11sgw - Removed configure part of the patch since it could change
12Signed-off-by: Saul Wold <sgw@linux.intel.com>
10--- 13---
11 configure | 2 +-
12 configure.in | 2 +- 14 configure.in | 2 +-
13 2 files changed, 2 insertions(+), 2 deletions(-) 15 2 files changed, 2 insertions(+), 2 deletions(-)
14 16
15diff --git a/configure b/configure
16index 1368ac5..24587c8 100755
17--- a/configure
18+++ b/configure
19@@ -11529,7 +11529,7 @@ cat >>confdefs.h <<\_ACEOF
20 _ACEOF
21
22 CANUSB_SRC=pcap-canusb-linux.c
23- LIBS="-lusb-1.0 $LIBS"
24+ LIBS="-lusb-1.0 -lpthread $LIBS"
25 { echo "$as_me:$LINENO: canusb sniffing is supported" >&5
26 echo "$as_me: canusb sniffing is supported" >&6;}
27
28diff --git a/configure.in b/configure.in 17diff --git a/configure.in b/configure.in
29index ba5b64e..47e0b70 100644 18index ba5b64e..47e0b70 100644
30--- a/configure.in 19--- a/configure.in