summaryrefslogtreecommitdiff
path: root/packages/rpm/files/cross_libpaths.patch
blob: d6139dbdde0a99a2588975a13aa4d87dc734ca3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Index: rpm-4.4/configure.ac
===================================================================
--- rpm-4.4.orig/configure.ac	2005-01-29 10:54:37.698359056 -0500
+++ rpm-4.4/configure.ac	2005-01-29 10:55:16.492461456 -0500
@@ -321,10 +321,8 @@
 
 localdone=
 
-dirs=$prefix
 if test "$cross_compiling" != "yes"; then
-  dirs="$dirs /usr/local"
-fi
+dirs="$prefix /usr/local"
 for dir in $dirs
 do
 	case $dir in
@@ -366,6 +364,7 @@
 else
 	AC_MSG_RESULT(no)
 fi
+fi
 
 dnl
 dnl Check for features