]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Meson: Don't import the fs module at the toplevel
authorFred Morcos <fred.morcos@open-xchange.com>
Wed, 17 Jan 2024 13:47:34 +0000 (14:47 +0100)
committerFred Morcos <fred.morcos@open-xchange.com>
Wed, 20 Mar 2024 12:28:58 +0000 (13:28 +0100)
meson.build
meson/timet-sign/meson.build

index 5196e029ec2ed57e6e05b176c00f7f733cc0ff2d..32ff788de3eaa2eba4ceea94750d9e58a76a78eb 100644 (file)
@@ -17,9 +17,6 @@ product_build_dir = meson.current_build_dir()
 summary('Source Dir', product_source_dir, section: 'Build')
 summary('Build Dir', product_build_dir, section: 'Build')
 
-# Setup some modules
-fs = import('fs')
-
 # Create the configuration object and dependencies list.
 conf = configuration_data()
 
@@ -105,6 +102,8 @@ if get_option('module-lmdb') != 'disabled'
   subdir('ext' / 'lmdb-safe')
 endif
 
+
+
 deps = [
   dep_pdns,
   dep_platform,
index 66349cd9a1c2167fa5192aec025551da47334a67..d6670485a345eb6e995ae1b10eb825d4f33b836e 100644 (file)
@@ -1,3 +1,5 @@
+fs = import('fs')
+
 prog = fs.read('timet_sign.cc')
 timet_signed = cxx.compiles(prog, name: 'time_t is signed')