From fcd164c2319597adf0bedfd66cbfdb1947409467 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sun, 30 Apr 2006 20:29:21 +0000 Subject: [PATCH] --- gcc-fat.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc-fat.sh b/gcc-fat.sh index a30ea805..bcfeb375 100755 --- a/gcc-fat.sh +++ b/gcc-fat.sh @@ -71,7 +71,7 @@ if test x"$output" != x; then fi set -- $args while test x$1 != x; do - if test -f "ppc/$1"; then + if test -f "ppc/$1" && test "$1" != "$output"; then ppc_args="$ppc_args ppc/$1" else ppc_args="$ppc_args $1" @@ -93,7 +93,7 @@ if test x"$output" != x; then fi set -- $args while test x$1 != x; do - if test -f "x86/$1"; then + if test -f "x86/$1" && test "$1" != "$output"; then x86_args="$x86_args x86/$1" else x86_args="$x86_args $1"