]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libjava/Makefile.am
Makefile.in: Rebuilt.
[thirdparty/gcc.git] / libjava / Makefile.am
index 687f831527e8938e7d8f03fa1d209729add05250..067f49bf6a5800847c13022ec4516677aa4c839f 100644 (file)
@@ -12,8 +12,14 @@ endif
 ## What gets installed, and where.
 ##
 
+## Install a library built with a cross compiler in tooldir, not
+## libdir.
+if USE_LIBDIR
+toolexeclibdir = $(libdir)
+else
 toolexecdir = $(exec_prefix)/$(target_alias)
 toolexeclibdir = $(toolexecdir)/lib$(MULTISUBDIR)
+endif
 
 toolexeclib_LTLIBRARIES = libgcj.la
 toolexeclib_DATA = libgcj.spec