]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
auth: Use the correct directories (`pdns` not `powerdns`) with `meson`
authorRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 16 Jan 2026 16:08:39 +0000 (17:08 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 16 Jan 2026 16:08:39 +0000 (17:08 +0100)
Turns out `powerdns` is an Arch Linux thing.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
meson/libdir/meson.build
modules/meson.build

index 7e370c451018d6259eae2913355efc4ad96a2cfa..b44741ebc1184ddbf65339d0535ce2d9e982cbe3 100644 (file)
@@ -1 +1 @@
-conf.set_quoted('PKGLIBDIR', get_option('libdir'), description: 'Modules directory')
+conf.set_quoted('PKGLIBDIR', join_paths(get_option('prefix'), get_option('libdir'), 'pdns'), description: 'Modules directory')
\ No newline at end of file
index 152d519f7250bf9158c4a5210c9900250fed07f7..ee365d71f2fdd20b06661af47612bca7d887ae2b 100644 (file)
@@ -49,14 +49,14 @@ foreach module_name: all_modules
       link_whole: module_lib,
       name_suffix: 'so',
       install: true,
-      install_dir: get_option('libdir') / 'powerdns'
+      install_dir: get_option('libdir') / 'pdns'
     )
     selected_dyn_modules += module_name
   endif
 
   foreach resource: module_resources
     install_data(resource,
-      install_dir: get_option('datadir') / 'powerdns'
+      install_dir: get_option('datadir') / 'pdns'
     )
   endforeach