blob: a711f5e5d297ea911ebd9275e90b8e66edd7700c [file] [log] [blame]
Brad Bishop15ae2502019-06-18 21:44:24 -04001From fc9bf1ce9f1a21150b10736a1c968d4ca6d4eaa3 Mon Sep 17 00:00:00 2001
Brad Bishopd7bf8c12018-02-25 22:55:05 -05002From: 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---
Brad Bishop15ae2502019-06-18 21:44:24 -040014 open-vm-tools/configure.ac | 4 ++--
Brad Bishopd7bf8c12018-02-25 22:55:05 -050015 1 file changed, 2 insertions(+), 2 deletions(-)
16
Brad Bishop15ae2502019-06-18 21:44:24 -040017--- a/open-vm-tools/configure.ac
18+++ b/open-vm-tools/configure.ac
Brad Bishop2d39a062019-10-28 08:33:36 -040019@@ -937,7 +937,7 @@ if test "$with_dnet" = "yes"; then
Brad Bishopd7bf8c12018-02-25 22:55:05 -050020 AC_VMW_CHECK_LIB([dnet],
21 [DNET],
22 [],
23- [dnet-config],
24+ [],
25 [],
26 [dnet.h],
27 [intf_open],
Brad Bishop2d39a062019-10-28 08:33:36 -040028@@ -947,7 +947,7 @@ if test "$with_dnet" = "yes"; then
Brad Bishopd7bf8c12018-02-25 22:55:05 -050029
30 if test $have_dnet = "no"; then
31 AC_MSG_ERROR(
Brad Bishop2d39a062019-10-28 08:33:36 -040032- [dnet-config was not found on your PATH. Please configure without dnet or install dnet - http://libdnet.sourceforge.net])
Brad Bishopd7bf8c12018-02-25 22:55:05 -050033+ [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 -080034 fi
Brad Bishopd7bf8c12018-02-25 22:55:05 -050035 fi
36