From: ehofman Date: Tue, 16 Feb 2010 08:18:40 +0000 (+0000) Subject: John Denker: Fix sneaky bug: 'mylibdir' variable getting trampled. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8e47f5d4944eb595497b4cad9ce58dd17c6d1504;p=simgear.git John Denker: Fix sneaky bug: 'mylibdir' variable getting trampled. --- diff --git a/acinclude.m4 b/acinclude.m4 index 0d645d98..dcbe5681 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -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)