summaryrefslogtreecommitdiff
path: root/tools/apbuild/apgcc
diff options
context:
space:
mode:
Diffstat (limited to 'tools/apbuild/apgcc')
-rwxr-xr-xtools/apbuild/apgcc3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/apbuild/apgcc b/tools/apbuild/apgcc
index 2aba0071..ddda846b 100755
--- a/tools/apbuild/apgcc
+++ b/tools/apbuild/apgcc
@@ -19,7 +19,6 @@ use Apbuild::Utils;
# Don't forget to bump the version in Makefile too.
our $APBUILD_VERSION = "2.0.9";
-
######## Initialization ########
# In C mode:
@@ -75,7 +74,7 @@ if (!defined $appath) {
$appath =~ s/\/*$//g;
$appath =~ s/^(.*)\/.*?$/$1/;
$appath .= '/include/apbuild';
- if (! -f "$appath/apsymbols.h" && -f "$FindBin::Bin/apsymbols.h") {
+ if (! -f "$appath/apsymbols.h.i686" && -f "$FindBin::Bin/apsymbols.h.i686") {
$appath = $FindBin::Bin;
}
}