From 425fd219fca3a135463a5535fe175734e63cf334 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A5re=20S=C3=A4rs?= Date: Wed, 18 Sep 2024 10:46:24 +0300 Subject: [PATCH] Enable finding system cyclonedds on debian On debian and ubuntu the cyclonedds libraries are placed under /usr/lib/x86_64-linux-gnu So if x86_64-linux-gnu exists in the lib directory add it to the path --- buildhelp/cyclone_search.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/buildhelp/cyclone_search.py b/buildhelp/cyclone_search.py index 6ee34a0d..f2059747 100644 --- a/buildhelp/cyclone_search.py +++ b/buildhelp/cyclone_search.py @@ -51,6 +51,10 @@ def good_directory(directory: Path): if not libdir.exists(): return None + multiarch_libdir = libdir / "x86_64-linux-gnu" + if multiarch_libdir.exists(): + libdir = multiarch_libdir + if platform.system() == 'Windows': ddsc_library = bindir / "ddsc.dll" elif platform.system() == 'Darwin':