From 8a4c15dae946f79d35f0ad02f13ac17e4c03d3be 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 05/13] 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 6128827..cb070fb 100755
--- a/configure
+++ b/configure
@@ -24513,7 +24513,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 4bbf6ac..e033c19 100644
--- a/configure.ac
+++ b/configure.ac
@@ -887,7 +887,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.39.3 (Apple Git-146)

