Blame SOURCES/dialog-multilib.patch

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