]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
meson: modules - remove unnecessary link_flags
authorTomas Krizek <tomas.krizek@nic.cz>
Tue, 29 Jan 2019 15:16:45 +0000 (16:16 +0100)
committerTomas Krizek <tomas.krizek@nic.cz>
Tue, 12 Mar 2019 09:41:50 +0000 (10:41 +0100)
modules/bogus_log/meson.build
modules/edns_keepalive/meson.build
modules/meson.build
modules/policy/meson.build

index c138965bb4400cdae61d96c3073a490df21b90b8..88ce8c756f10401903e587e62a1313d60e1b4912 100644 (file)
@@ -5,13 +5,12 @@ bogus_log_src = [
 bogus_log_mod = library(
   'bogus_log',
   bogus_log_src,
-  name_prefix: '',
   dependencies: [
     contrib_dep,
     libkres_dep,
     libknot,
   ],
-  link_args: link_args_c_mods,
+  name_prefix: '',
   install: true,
   install_dir: modules_dir,
 )
index 2aea4a0a87ab8128ec644d4b3b957ac22ec259c8..9ed8866da9413ef121899ee905be8345f17a9062 100644 (file)
@@ -5,13 +5,12 @@ edns_keepalive_src = [
 edns_keepalive_mod = library(
   'edns_keepalive',
   edns_keepalive_src,
-  name_prefix: '',
   dependencies: [
     contrib_dep,
     libkres_dep,
     libknot,
   ],
-  link_args: link_args_c_mods,
+  name_prefix: '',
   install: true,
   install_dir: modules_dir,
 )
index 4d6e9511fa47ed018ed1ab3659ab38ae4018ddab..da59ad3abe3a7a1838a1e057990f73afaf4eb646 100644 (file)
@@ -24,12 +24,6 @@ lua_sources = [
 ]
 
 
-link_args_c_mods = [  # TODO test on mac
-  '-Wl,-undefined',
-  '-Wl,dynamic_lookup',
-]
-
-
 subdir('bogus_log')
 subdir('daf')
 subdir('edns_keepalive')
index a97e8aa21acb58a4d8fbbecda1d2ebe6d4e4a7c1..619017a67d16cab6d3761fa54c596ba89ca8b662 100644 (file)
@@ -8,18 +8,14 @@ lua_ac_src = [
 lua_ac_lib = library(
   'ahocorasick',
   lua_ac_src,
-  name_prefix: '',
   dependencies: luajit,
-  install: true,
-  install_dir: modules_dir,
   cpp_args: [
     '-O3',
     '-fvisibility=hidden',
     '-Wall',
     '-fPIC',
   ],
-  link_args: [
-    '-shared',
-    #'-Wl,-soname=ahocorasick.so',  # TODO what does this do, is it needed?
-  ],
+  name_prefix: '',
+  install: true,
+  install_dir: modules_dir,
 )