From 3c78f2d161550184b86e55a992b972fa136186d9 Mon Sep 17 00:00:00 2001
From: Otavio Salvador <otavio@ossystems.com.br>
Date: Tue, 19 Apr 2016 22:12:38 -0300
Subject: [PATCH] Avoid cross-compile unsafe paths
Organization: O.S. Systems Software LTDA.

Upstream-Status: Inappropriate [embedded specific]

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 m4/boost.m4 | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/m4/boost.m4 b/m4/boost.m4
index a4c366a..0b86299 100644
--- a/m4/boost.m4
+++ b/m4/boost.m4
@@ -440,8 +440,7 @@ for boost_rtopt_ in $boost_rtopt '' -d; do
     boost_tmp_lib=$with_boost
     test x"$with_boost" = x && boost_tmp_lib=${boost_cv_inc_path%/include}
     for boost_ldpath in "$boost_tmp_lib/lib" '' \
-             /opt/local/lib* /usr/local/lib* /opt/lib* /usr/lib* \
-             "$with_boost" C:/Boost/lib /lib*
+             "$with_boost"
     do
       # Don't waste time with directories that don't exist.
       if test x"$boost_ldpath" != x && test ! -e "$boost_ldpath"; then
-- 
2.1.4

