From 03a77ad8c10068f5cd8a9ca9f4c862572128ca39 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/17] 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 cca5e88cbb..89f6062d74 100755
--- a/configure
+++ b/configure
@@ -22560,7 +22560,7 @@ fi
 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 8d35337620..7aede25c75 100644
--- a/configure.ac
+++ b/configure.ac
@@ -702,7 +702,7 @@ AM_CONDITIONAL(CROSS_COMPILING, [test "${cross_compiling}" = yes])
 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.18.0

