]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#3812] hammer.py: workaround for netconf rpath not working
authorAndrei Pavel <andrei@isc.org>
Tue, 8 Apr 2025 16:58:23 +0000 (19:58 +0300)
committerAndrei Pavel <andrei@isc.org>
Thu, 17 Apr 2025 11:37:23 +0000 (14:37 +0300)
hammer.py

index 7039dc2595e083d3b12613f2080023e44b897a6f..28289a3f5972134a066e92163d504aa0d3379ad7 100755 (executable)
--- a/hammer.py
+++ b/hammer.py
@@ -1793,6 +1793,10 @@ def install_packages_local(system, revision, features, check_times, ignore_error
 
         if 'netconf' in features:
             packages.extend(['cmake', 'git', 'pcre2-devel'])
+            # Even though meson sets rpath, it does not work in fedora.
+            # This is even more stupid since it's a fairly standard path that could have worked out of the box.
+            # Set it manually and persistently at a global level...
+            execute('echo /usr/local/lib64 | sudo tee /etc/ld.so.conf.d/netconf.conf')
 
         if 'unittest' in features:
             packages.append('wget')