Skip to content

GNUInstallDirs: Apply Debian multiarch LIBDIR to more prefixes

Mathieu Malaterre requested to merge malaterre/cmake:bug-19698 into master

On typical Debian amd64 system (bullseye), multiarch is setup as:

% cat /etc/


% apt-cache policy libc6:amd64
  Installed: 2.31-13+deb11u2
  Candidate: 2.31-13+deb11u2
  Version table:
 *** 2.31-13+deb11u2 500
        500 bullseye/main amd64 Packages
        100 /var/lib/dpkg/status

Update GNUInstallDirs to support all three cases /, /usr/ and /usr/local/.

Fixes: #19698 (closed)
Topic-rename: GNUInstallDirs-multiarch-prefixes

Edited by Brad King

Merge request reports