aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libio/configure.in7
1 files changed, 3 insertions, 4 deletions
diff --git a/libio/configure.in b/libio/configure.in
index ef19da0..5ffca6c 100644
--- a/libio/configure.in
+++ b/libio/configure.in
@@ -136,13 +136,12 @@ fi
# post-target:
-# If cross-compiling, don't build gperf or the utils. They
-# will get built by the target compiler, which is confusing.
-# We cannot test the installation. We install in $(tooldir).
+# If cross-compiling, we install in $(tooldir)/lib or in $(libsubdir)
+# depending on --enable-version-specific-runtime-libs.
if [ -n "${with_cross_host}" ] ; then
rm -f Makefile.tem
sed \
- -e 's|\(^[ ]*INSTALLDIR[ ]*=[ ]*\)[^ ;]*|\1$(tooldir)/lib|' \
+ -e 's|\(^[ ]*INSTALLDIR[ ]*=[ ]*\)\$(libdir)|\1$(tooldir)/lib|' \
Makefile >Makefile.tem
mv -f Makefile.tem Makefile
fi