blob: b7a4058352e530ba158cb1ef0b7ec63acec905d9 [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001From 929150608c16644695f19cd2e0cc8a06a41cd497 Mon Sep 17 00:00:00 2001
2From: Martin Kelly <mkelly@xevo.com>
3Date: Fri, 7 Apr 2017 15:20:30 -0700
4Subject: [PATCH] configure.ac: don't use dnet-config
5
6The dnet-config tool doesn't know about cross-compilation, so it injects
7-I/usr/include into the path, causing compiler errors. So instead find dnet via
8-ldnet.
9
10Upstream-Status: Inappropriate [embedded specific]
11
12Signed-off-by: Martin Kelly <mkelly@xevo.com>
13---
14 configure.ac | 4 ++--
15 1 file changed, 2 insertions(+), 2 deletions(-)
16
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080017Index: open-vm-tools/configure.ac
18===================================================================
19--- open-vm-tools.orig/configure.ac
20+++ open-vm-tools/configure.ac
21@@ -944,7 +944,7 @@ if test "$with_dnet" = "yes"; then
Brad Bishopd7bf8c12018-02-25 22:55:05 -050022 AC_VMW_CHECK_LIB([dnet],
23 [DNET],
24 [],
25- [dnet-config],
26+ [],
27 [],
28 [dnet.h],
29 [intf_open],
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080030@@ -954,7 +954,7 @@ if test "$with_dnet" = "yes"; then
Brad Bishopd7bf8c12018-02-25 22:55:05 -050031
32 if test $have_dnet = "no"; then
33 AC_MSG_ERROR(
34- [dnet-config was not found on your PATH. Please configure without dnet (using --without-dnet) or install dnet - http://libdnet.sourceforge.net])
35+ [dnet was not found. Please configure without dnet (using --without-dnet) or install dnet - http://libdnet.sourceforge.net])
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080036 fi
Brad Bishopd7bf8c12018-02-25 22:55:05 -050037 fi
38