[Pkg-cmake-team] Bug#1085507: cmake: fails to recognize multiarch libdir for musl-linux-any

Helmut Grohne helmut at subdivi.de
Sun Oct 20 11:15:57 BST 2024


Package: cmake
Version: 3.30.5-1
Tags: patch upstream
User: helmutg at debian.org
Usertags: rebootstrap
Control: affects -1 + src:libpng1.6

While bootstrapping Debian for musl-linux-any, I noticed that cmake
fails to consider /usr/lib/$DEB_HOST_MULTIARCH during a build of
libpng1.6. After some debugging, it became clear that it would only
recognize multiarch directories for glibc based systems and eventually,
I found the culprint in Linux-Initialize.cmake. I'm attaching a patch
that makes cmake recognize the multiarch directories for all Linux
systems rather than just GNU/Linux ones.

Helmut
-------------- next part --------------
A non-text attachment was scrubbed...
Name: musl.patch
Type: text/x-diff
Size: 376 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-cmake-team/attachments/20241020/1e6da871/attachment.patch>


More information about the Pkg-cmake-team mailing list