]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - configure
ncurses 6.3 - patch 20220827
[ncurses.git] / configure
index e7dff243d850293a4e6431e6840791bc2ec48c80..aeb93b87aa2de68c51049cd1f928a01c50e9a7d1 100755 (executable)
--- a/configure
+++ b/configure
@@ -29084,7 +29084,7 @@ else
 if test "$cross_compiling" != yes ; then
 
 # GNU binutils' ld does not involve permissions which may stop ldconfig.
-cf_pathlist=`ld --verbose 2>/dev/null | grep SEARCH_DIR | sed -e 's,SEARCH_DIR[("=][("=]*,,g' -e 's/"[)];//gp' | sort -u`
+cf_pathlist=`${LD:-ld} --verbose 2>/dev/null | grep SEARCH_DIR | sed -e 's,SEARCH_DIR[("=][("=]*,,g' -e 's/"[)];//gp' | sort -u`
 
 # The -NX options tell newer versions of Linux ldconfig to not attempt to
 # update the cache, which makes it run faster.