From 56503f8073452454d970f09c4bc49a3e89553128 Mon Sep 17 00:00:00 2001
From: Ray Donnelly <mingw.android@gmail.com>
Date: Tue, 2 Jan 2018 15:47:26 +0000
Subject: [PATCH 06/18] Darwin: Avoid setting DYLD_FALLBACK_LIBRARY_PATH

Since it does nothing these days (you should use -Wl,-rpath,${PREFIX}/lib instead).
---
 configure    | 2 +-
 configure.ac | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index fad6463cbc..e0a536c9be 100755
--- a/configure
+++ b/configure
@@ -22569,7 +22569,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 R_LD_LIBRARY_PATH_save=${R_LD_LIBRARY_PATH}
 R_LD_LIBRARY_PATH=
 case "${host_os}" in
-  darwin*)
+  some_other_platform*)
     ## Darwin provides a full path in the ID of each library such
     ## that the linker can add library's path to the binary at link time.
     ## This allows the dyld to find libraries even without xx_LIBRARY_PATH.
diff --git a/configure.ac b/configure.ac
index 2039a4894a..4c1cdbb745 100644
--- a/configure.ac
+++ b/configure.ac
@@ -698,7 +698,7 @@ AC_SUBST(LIBTOOL_DEPS)
 R_LD_LIBRARY_PATH_save=${R_LD_LIBRARY_PATH}
 R_LD_LIBRARY_PATH=
 case "${host_os}" in
-  darwin*)
+  some_other_platform*)
     ## Darwin provides a full path in the ID of each library such 
     ## that the linker can add library's path to the binary at link time.
     ## This allows the dyld to find libraries even without xx_LIBRARY_PATH.
-- 
2.20.1

