commit | 3d72522a684643de7915c1998abb488af1ad5fac | [log] [tgz] |
---|---|---|
author | DRC <information@libjpeg-turbo.org> | Wed Sep 20 18:11:03 2017 +0000 |
committer | DRC <information@libjpeg-turbo.org> | Wed Sep 20 18:13:23 2017 +0000 |
tree | e51b0a5b431030b4481c634ce6722eaed345127c | |
parent | f0dd80f2467e7ea2eaef8bc9bfe5fb41648d4105 [diff] |
SRPM build: Define _libdir based on build arch Setting _libdir to CMAKE_INSTALL_FULL_LIBDIR only works when doing an in-tree RPM build. SRPMs are architecture-agnostic, so the spec needs to compute_libdir at the time the SRPM is rebuilt, not at the time it is generated. This is a regression introduced when implementing the new CMake-based cross-platform build system.