From c31086870f3bf400db3ac4ddcca600b5fd62aaad Mon Sep 17 00:00:00 2001
From: Bill Medland <Bill.Medland@accpac.com>
Date: Sat, 20 Apr 2002 20:53:24 +0000
Subject: [PATCH] Handle when ldconfig is not on the path, and do not run it
 until after the libdir has been populated.

---
 tools/wineinstall | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/wineinstall b/tools/wineinstall
index d7f73c058ea..3aed43b02cd 100755
--- a/tools/wineinstall
+++ b/tools/wineinstall
@@ -288,7 +288,7 @@ then {
       echo
       echo "$libdir doesn't exist in your /etc/ld.so.conf, it will be added"
       echo "when we perform the install..."
-      sucommand="echo $libdir>>/etc/ld.so.conf;ldconfig;$sucommand"
+      sucommand="$sucommand;echo $libdir>>/etc/ld.so.conf;$ac_cv_path_LDCONFIG"
     }
     fi
 
-- 
GitLab