diff options
author | Walter Doekes <walter+github@wjd.nu> | 2017-03-28 20:01:16 +0200 |
---|---|---|
committer | George Joseph <gjoseph@digium.com> | 2017-03-30 16:09:40 -0600 |
commit | 7954b39a505b1ff0bf4a1326125b701d30c25919 (patch) | |
tree | 5618e14b0763e7dacce71770ba8ac9402ae33fe9 /rest-api-templates/api.wiki.mustache | |
parent | e52ced02d8a70993301d7cfb5e4a98bb97010a71 (diff) |
build: Fix deb build issues with fakeroot
If DESTDIR is set, don't call ldconfig. Assume that DESTDIR is used to
create a binary archive. The ldconfig call should be delegated to the
archive postinst script. This fixes the case where fakeroot wraps 'make
install' causing $EUID to be 0 even though it doesn't have permission to
call ldconfig.
The previous logic in configure.ac to detect and correct libdir
has been removed as it was not completely accurate. CentOS 64-bit
users should again specifiy --libdir=/usr/lib64 when configuring
to prevent install to /usr/lib.
Updated Makefile:check-old-libdir to check for orphans in
lib64 when installing to lib as well as orphans in lib when installing
to lib64.
Updated Makefile and main/Makefile uninstall targets to remove the
orphans using the new logic.
ASTERISK-26705
Change-Id: I51739d4a03e60bff38be719b8d2ead0007afdd51
Diffstat (limited to 'rest-api-templates/api.wiki.mustache')
0 files changed, 0 insertions, 0 deletions