Skip to content
Snippets Groups Projects
  • George Joseph's avatar
    4692a32e
    build: Warn if asterisk is installed in both 32 and 64 bit sys dirs · 4692a32e
    George Joseph authored
    ... and clean them both up on uninstall.
    
    We've fixed the issue where 'make install' was installing to
    /usr/lib on 64-bit systems that use /usr/lib64.  Now we need
    to clean up the remnants in /usr/lib.
    
    * 'make install' now prints a warning if DESTDIR/ASTLIBDIR
      contains 'lib64' and libasterisk* shared libraries or modules
      are also found in DESTDIR/ASTLIBDIR with 'lib64' transformed
      to 'lib'.
    
    * 'make uninstall' ALWAYS cleans up both DESTDIR/ASTLIBDIR and
      DESTDIR/ASTLIBDIR with 'lib64' transformed to 'lib'.
    
    ASTERISK-26705
    
    Change-Id: I6edddeb3c07a51e7c7ba7cac3c05e4bf3ec3f01f
    4692a32e
    History
    build: Warn if asterisk is installed in both 32 and 64 bit sys dirs
    George Joseph authored
    ... and clean them both up on uninstall.
    
    We've fixed the issue where 'make install' was installing to
    /usr/lib on 64-bit systems that use /usr/lib64.  Now we need
    to clean up the remnants in /usr/lib.
    
    * 'make install' now prints a warning if DESTDIR/ASTLIBDIR
      contains 'lib64' and libasterisk* shared libraries or modules
      are also found in DESTDIR/ASTLIBDIR with 'lib64' transformed
      to 'lib'.
    
    * 'make uninstall' ALWAYS cleans up both DESTDIR/ASTLIBDIR and
      DESTDIR/ASTLIBDIR with 'lib64' transformed to 'lib'.
    
    ASTERISK-26705
    
    Change-Id: I6edddeb3c07a51e7c7ba7cac3c05e4bf3ec3f01f
Makefile 40.19 KiB