diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2023-09-27 17:58:50 +0200 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2023-09-27 17:58:50 +0200 |
commit | 3bc1764da01efc44fa3f1317fe1e0c24f3e761dc (patch) | |
tree | 7951f9625d78a09a4cb7bd613dfbb17672cb2491 /src/gns/nss | |
parent | c076a67de45e9214cea48ff74456861e80984d87 (diff) | |
download | gnunet-3bc1764da01efc44fa3f1317fe1e0c24f3e761dc.tar.gz gnunet-3bc1764da01efc44fa3f1317fe1e0c24f3e761dc.zip |
BUILD: Meson add nss
Diffstat (limited to 'src/gns/nss')
-rw-r--r-- | src/gns/nss/meson.build | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/gns/nss/meson.build b/src/gns/nss/meson.build new file mode 100644 index 000000000..1573acf86 --- /dev/null +++ b/src/gns/nss/meson.build | |||
@@ -0,0 +1,31 @@ | |||
1 | # FIXME: | ||
2 | # | ||
3 | # EXTRA_DIST = map-file | ||
4 | # AM_LDFLAGS=-avoid-version -module -export-dynamic | ||
5 | # | ||
6 | shared_library('nss_gns', | ||
7 | ['nss_gns_query.c', 'nss_gns.c'], | ||
8 | dependencies: [libgnunetutil_dep, | ||
9 | libgnunetgnsrecord_dep], | ||
10 | link_args: ['-fno-version', '-module', '-export-dynamic', '-shrext', '.so.2', '-W', 'l'], | ||
11 | include_directories: [incdir, configuration_inc], | ||
12 | install: true, | ||
13 | install_dir: get_option('libdir')) | ||
14 | shared_library('nss_gns4', | ||
15 | ['nss_gns_query.c', 'nss_gns.c'], | ||
16 | c_args: ['-DNSS_IPV4_ONLY=1'], | ||
17 | dependencies: [libgnunetutil_dep, | ||
18 | libgnunetgnsrecord_dep], | ||
19 | link_args: ['-fno-version', '-module', '-export-dynamic', '-shrext', '.so.2', '-W', 'l'], | ||
20 | include_directories: [incdir, configuration_inc], | ||
21 | install: true, | ||
22 | install_dir: get_option('libdir')) | ||
23 | shared_library('nss_gns6', | ||
24 | ['nss_gns_query.c', 'nss_gns.c'], | ||
25 | c_args: ['-DNSS_IPV6_ONLY=1'], | ||
26 | dependencies: [libgnunetutil_dep, | ||
27 | libgnunetgnsrecord_dep], | ||
28 | link_args: ['-fno-version', '-module', '-export-dynamic', '-shrext', '.so.2', '-W', 'l'], | ||
29 | include_directories: [incdir, configuration_inc], | ||
30 | install: true, | ||
31 | install_dir: get_option('libdir')) | ||