aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPino Toscano <toscano.pino@tiscali.it>2024-07-20 23:21:44 +0200
committerDylan Baker <dylan@pnwbakers.com>2024-07-22 09:33:52 -0700
commit86d142666a4517c9c5694c87dc92589214be920f (patch)
tree18d3dd2677db4e622e689524bd2bdeb816a70ba0
parent2d98cfd4735b87178a931e80f7bf9c8d7bcb689c (diff)
downloadmeson-86d142666a4517c9c5694c87dc92589214be920f.zip
meson-86d142666a4517c9c5694c87dc92589214be920f.tar.gz
meson-86d142666a4517c9c5694c87dc92589214be920f.tar.bz2
cmake: extend library pattern to work on GNU/Hurd as well
The existing "*-linux-gnu*" works on the Debian multiarch model for Linux architectures; tweak it to be "*-gnu*" so it works also for Hurd architectures. This makes the cmake-based search of dependencies work on Debian GNU/Hurd.
-rw-r--r--mesonbuild/dependencies/data/CMakePathInfo.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/dependencies/data/CMakePathInfo.txt b/mesonbuild/dependencies/data/CMakePathInfo.txt
index 662ec58..c3d8c59 100644
--- a/mesonbuild/dependencies/data/CMakePathInfo.txt
+++ b/mesonbuild/dependencies/data/CMakePathInfo.txt
@@ -13,7 +13,7 @@ list(APPEND TMP_PATHS_LIST ${CMAKE_SYSTEM_APPBUNDLE_PATH})
set(LIB_ARCH_LIST)
if(CMAKE_LIBRARY_ARCHITECTURE_REGEX)
- file(GLOB implicit_dirs RELATIVE /lib /lib/*-linux-gnu* )
+ file(GLOB implicit_dirs RELATIVE /lib /lib/*-gnu* )
foreach(dir ${implicit_dirs})
if("${dir}" MATCHES "${CMAKE_LIBRARY_ARCHITECTURE_REGEX}")
list(APPEND LIB_ARCH_LIST "${dir}")