blob: 977ab95b78e1051caca431212bdb9b57485bf2ea [file] [log] [blame]
Brad Bishop63ae8782019-10-09 09:56:13 -04001From 02085028cdaf075943c27ebc02bb6de0289ec1d3 Mon Sep 17 00:00:00 2001
Brad Bishop19323692019-04-05 15:28:33 -04002From: Andre McCurdy <armccurdy@gmail.com>
Brad Bishop63ae8782019-10-09 09:56:13 -04003Date: Wed, 2 Oct 2019 16:43:48 -0400
Brad Bishop19323692019-04-05 15:28:33 -04004Subject: [PATCH] avoid absolute path when searching for libdlpi
5
6Let the build environment control library search paths.
7
8Upstream-Status: Inappropriate [OE specific]
9
10Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Brad Bishop63ae8782019-10-09 09:56:13 -040011Signed-off-by: Peiran Hong <peiran.hong@windriver.com>
Brad Bishop19323692019-04-05 15:28:33 -040012---
Brad Bishop63ae8782019-10-09 09:56:13 -040013 configure.ac | 2 +-
Brad Bishop19323692019-04-05 15:28:33 -040014 1 file changed, 1 insertion(+), 1 deletion(-)
15
Brad Bishop63ae8782019-10-09 09:56:13 -040016diff --git a/configure.ac b/configure.ac
17index 3401a7a3..6a52485a 100644
18--- a/configure.ac
19+++ b/configure.ac
20@@ -528,7 +528,7 @@ don't.])
Brad Bishop19323692019-04-05 15:28:33 -040021 fi
22
23 # libdlpi is needed for Solaris 11 and later.
24-AC_CHECK_LIB(dlpi, dlpi_walk, LIBS="$LIBS -ldlpi" LDFLAGS="-L/lib $LDFLAGS", ,-L/lib)
25+AC_CHECK_LIB(dlpi, dlpi_walk, LIBS="$LIBS -ldlpi")
26
27 dnl
28 dnl Check for "pcap_list_datalinks()", "pcap_set_datalink()",
29--
Brad Bishop63ae8782019-10-09 09:56:13 -0400302.17.1
Brad Bishop19323692019-04-05 15:28:33 -040031