80fd17
diff -up dialog-1.3-20191110/dialog-config.in.multilib dialog-1.3-20191110/dialog-config.in
80fd17
--- dialog-1.3-20191110/dialog-config.in.multilib	2019-09-26 02:50:46.000000000 +0200
80fd17
+++ dialog-1.3-20191110/dialog-config.in	2019-11-11 13:05:01.327868746 +0100
80fd17
@@ -53,14 +53,14 @@ while test $# -gt 0; do
80fd17
 
80fd17
 	eval bindir='"@bindir@"'
80fd17
 	eval includedir='"@includedir@"'
80fd17
-	eval libdir='"@libdir@"'
80fd17
+	eval libdir=''
80fd17
 	eval datadir='"@datadir@"'
80fd17
 	eval mandir='"@mandir@"'
80fd17
 
80fd17
 	[ -z "$includedir" ] && includedir="${prefix}/include" 
80fd17
 
80fd17
-	eval LDFLAGS='"@LDFLAGS@"'
80fd17
-	eval LIBS='"@LIBS@"'
80fd17
+	eval LDFLAGS=''
80fd17
+	eval LIBS=''
80fd17
 	LIBS="-l${THIS} $LIBS"
80fd17
 
80fd17
 	# If the directory given by --libdir is not in the LDFLAGS+LIBS set,
80fd17
@@ -74,12 +74,12 @@ while test $# -gt 0; do
80fd17
 			break
80fd17
 		fi
80fd17
 	done
80fd17
-	if [ $found = no ]
80fd17
+	if false
80fd17
 	then
80fd17
 		[ -n "$LFLAGS" ] && LDFLAGS=" $LFDLAGS"
80fd17
 		LDFLAGS="-L${libdir}$LDFLAGS"
80fd17
 	fi
80fd17
-	[ -z "$LDFLAGS" ] && LDFLAGS="-L${exec_prefix}/lib"
80fd17
+	#[ -z "$LDFLAGS" ] && LDFLAGS="-L${exec_prefix}/lib"
80fd17
 
80fd17
 	# Ignore -L options which do not correspond to an actual directory,
80fd17
 	# or which are standard library directories (i.e., the linker is
80fd17
@@ -94,9 +94,6 @@ while test $# -gt 0; do
80fd17
 		-L*)
80fd17
 			[ -d ${opt##-L} ] || continue
80fd17
 			case ${opt##-L} in
80fd17
-			@LD_SEARCHPATH@) # skip standard libdir
80fd17
-				continue
80fd17
-				;;
80fd17
 			*)
80fd17
 				;;
80fd17
 			esac