meson cleanup

This commit is contained in:
Heiko Reese
2021-08-22 02:17:11 +02:00
parent d225bddcb3
commit 834714f4c8
3 changed files with 14 additions and 10 deletions

View File

@ -24,13 +24,15 @@ cd exim-encrypt-dlfunc
```shell ```shell
meson build # run only once meson build # run only once
cd build meson compile -C build
ninja meson test -C build
``` ```
5. Copy to final destination (feel free to pick another place than `/usr/local/lib/`): 5. Copy to final destination (feel free to pick another place than `/usr/local/lib/`):
TBD… ```shell
meson install -C build
```
6. Ensure you have the correct exim build: 6. Ensure you have the correct exim build:

View File

@ -1,5 +1,7 @@
project('libexim-encrypt-dlfunc', 'c', project('libexim-encrypt-dlfunc', 'c',
default_options: ['b_lundef=false', 'b_pie=true']) default_options: ['b_lundef=false', 'b_pie=true'],
license: 'Apache-2.0',
version: '0.2.0')
compiler = meson.get_compiler('c') compiler = meson.get_compiler('c')
conf_data = configuration_data() conf_data = configuration_data()

View File

@ -1,8 +1,8 @@
configure_file( configure_file(output: 'config.h', configuration: conf_data)
output: 'config.h',
configuration: conf_data)
executable('generate_encryption_keys', 'generate_encryption_keys.c', dependencies : [ sodium_deps ] ) executable('generate_encryption_keys', 'generate_encryption_keys.c',
dependencies : [ sodium_deps ],
install: true)
shared_library('exim-encrypt-dlfunc', 'libexim-encrypt-dlfunc.c', shared_library('exim-encrypt-dlfunc', 'libexim-encrypt-dlfunc.c',
dependencies : [ sodium_deps ], dependencies : [ sodium_deps ],