commit | 8d403aeb6ac7552a5ec8e712d4a9745c03b0748c | [log] [tgz] |
---|---|---|
author | DRC <information@libjpeg-turbo.org> | Tue Sep 19 13:03:49 2017 -0500 |
committer | DRC <information@libjpeg-turbo.org> | Tue Sep 19 23:15:46 2017 +0000 |
tree | 611fe2ed233602dfe3d98f774e0267677525bec2 | |
parent | 01b74c101ead1d5e5b253196dd26ad1d07fa0115 [diff] |
Fix 32-bit RPM build w/ newer RHEL/Fedora releases The version of RPM on RHEL 5 and older platforms defines _libdir as %{_exec_prefix}/%{_lib}, so defining _lib in the spec file redefined _libdir. However, newer versions of RPM (probably >= 4.6, since that was the version that introduced the ISA macros) define _libdir as either %{_prefix}/lib or %{_prefix}/lib64. Thus, we need to explicitly override _libdir in our spec file.