From 6343b5893b9393c59a615803257b1fd6a336e5a1 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/16] 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 30d632b..e55984a 100755
--- a/configure
+++ b/configure
@@ -24006,7 +24006,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 5ef8269..200a740 100644
--- a/configure.ac
+++ b/configure.ac
@@ -808,7 +808,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.34.1

