diff options
Diffstat (limited to 'zlib/Makefile.am')
-rw-r--r-- | zlib/Makefile.am | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/zlib/Makefile.am b/zlib/Makefile.am index cf27582..f00bc78 100644 --- a/zlib/Makefile.am +++ b/zlib/Makefile.am @@ -10,8 +10,14 @@ MULTISUBDIR = MULTIDO = true MULTICLEAN = true +## 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 ## We don't use `libz.la' because we don't want to conflict with a ## system library of that name. |