]> git.mxchange.org Git - simgear.git/commitdiff
John Denker: Fix sneaky bug: 'mylibdir' variable getting trampled.
authorehofman <ehofman>
Tue, 16 Feb 2010 08:18:40 +0000 (08:18 +0000)
committerTim Moore <timoore33@gmail.com>
Wed, 17 Feb 2010 06:18:20 +0000 (07:18 +0100)
acinclude.m4

index 0d645d98997e8fcacc8590b154b529b38efb1d3e..dcbe56816e85361a5e2234d864228bc32eb79cd8 100644 (file)
@@ -113,14 +113,14 @@ for subexdir in $subexdirs ; do
 dnl On 64-bit machines, if lib64/ exists and is not identical to lib/
 dnl then it should be listed here, listed ahead of lib/.
             mylibdir64="${exdir}/lib64${subexdir}"
-            mylibdir="${exdir}/lib${subexdir}"
+            mylibdir32="${exdir}/lib${subexdir}"
 
             if test "x86_64" = $(uname -m) \
-              -a ! ${mylibdir64} -ef ${mylibdir} ; then
+              -a ! ${mylibdir64} -ef ${mylibdir32} ; then
                 wi_EXTRA_LDIR($mylibdir64)
             fi
 
-            wi_EXTRA_LDIR($mylibdir)
+            wi_EXTRA_LDIR($mylibdir32)
 
             progdir="${exdir}/bin${subexdir}"
             wi_EXTRA_PDIR($progdir)