summaryrefslogtreecommitdiffstats
path: root/contrib/libobjc/aclocal.m4
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libobjc/aclocal.m4')
-rw-r--r--contrib/libobjc/aclocal.m45
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/libobjc/aclocal.m4 b/contrib/libobjc/aclocal.m4
index 3aedd7d..07dcc56 100644
--- a/contrib/libobjc/aclocal.m4
+++ b/contrib/libobjc/aclocal.m4
@@ -207,11 +207,12 @@ if test x"$glibcpp_toolexecdir" = x"no"; then
if test -n "$with_cross_host" &&
test x"$with_cross_host" != x"no"; then
glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
- glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
+ glibcpp_toolexeclibdir='$(toolexecdir)/lib'
else
glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
- glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
+ glibcpp_toolexeclibdir='$(libdir)'
fi
+ glibcpp_toolexeclibdir=$glibcpp_toolexeclibdir/`$CC -print-multi-os-directory`
fi
AC_SUBST(glibcpp_prefixdir)
OpenPOWER on IntegriCloud