From c8c3d52b5f2334b45fa7cb3cce25aac3e4ae1671 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/14] 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 218fe93979..651274f7d5 100755
--- a/configure
+++ b/configure
@@ -24396,7 +24396,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 9fcfb4a14c..4ead837198 100644
--- a/configure.ac
+++ b/configure.ac
@@ -883,7 +883,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.
