By default, install the libraries into /opt/libjpeg-turbo/lib32 on any 32-bit system, not just x86, and into /opt/libjpeg-turbo/lib64 on any 64-bit system, not just x86-64. In particular, this addresses an issue with building TurboVNC and VirtualGL on ARM systems.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1001 632fc199-4ca6-4c93-a231-07263d6284db
This commit is contained in:
DRC
2013-08-11 23:23:41 +00:00
2 changed files with 16 additions and 8 deletions

View File

@@ -11,6 +11,16 @@ MIPS platforms. This speeds up the compression of full-color JPEGs by 6-17%
on such platforms and decompression by 3-5%.
1.3.1
=====
[1] On Un*x systems, 'make install' now installs the libjpeg-turbo libraries
into /opt/libjpeg-turbo/lib32 by default on any 32-bit system, not just x86,
and into /opt/libjpeg-turbo/lib64 by default on any 64-bit system, not just
x86-64. You can override this by overriding either the 'prefix' or 'libdir'
configure variables.
1.3.0
=====

View File

@@ -52,14 +52,12 @@ if test "x${libdir}" = 'x${exec_prefix}/lib' -o "x${libdir}" = 'x${prefix}/lib';
darwin*)
;;
*)
case "$host_cpu" in
x86_64 | amd64)
libdir='${exec_prefix}/lib64'
;;
i*86 | x86 | ia32)
libdir='${exec_prefix}/lib32'
;;
esac
AC_CHECK_SIZEOF(long)
if test "${ac_cv_sizeof_long}" = "8"; then
libdir='${exec_prefix}/lib64'
elif test "${ac_cv_sizeof_long}" = "4"; then
libdir='${exec_prefix}/lib32'
fi
;;
esac
fi