commit | e75f313cf1e762e348c99559504804f61cbec2c5 | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Fri Sep 13 02:53:26 2013 -0700 |
committer | Kir Kolyshkin <kir@openvz.org> | Fri Sep 13 02:53:26 2013 -0700 |
tree | cd57c077e86663e1f89d0ca150f6939616a8a033 | |
parent | 78b118158eea823d88312daf21ca01c8751e792c [diff] |
configure: fix libdir for Debian/Ubuntu case In case we're building under Debian (or Ubuntu) on an x86_64, /usr/lib64 is not a good place for libraries. Instead, we should query dpkg-architecture. Let's do that if dpkg-architecture is available, otherwise fall back to /usr/lib64. Note that this guessing still only happens if we are on x86_64 and libdir is not altered from the command line. Signed-off-by: Kir Kolyshkin <kir@openvz.org>