From 02085028cdaf075943c27ebc02bb6de0289ec1d3 Mon Sep 17 00:00:00 2001
From: Andre McCurdy <armccurdy@gmail.com>
Date: Wed, 2 Oct 2019 16:43:48 -0400
Subject: [PATCH] avoid absolute path when searching for libdlpi

Let the build environment control library search paths.

Upstream-Status: Inappropriate [OE specific]

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Peiran Hong <peiran.hong@windriver.com>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 3401a7a3..6a52485a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -528,7 +528,7 @@ don't.])
 fi
 
 # libdlpi is needed for Solaris 11 and later.
-AC_CHECK_LIB(dlpi, dlpi_walk, LIBS="$LIBS -ldlpi" LDFLAGS="-L/lib $LDFLAGS", ,-L/lib)
+AC_CHECK_LIB(dlpi, dlpi_walk, LIBS="$LIBS -ldlpi")
 
 dnl
 dnl Check for "pcap_list_datalinks()", "pcap_set_datalink()",
-- 
2.17.1

