mirror of
https://gitlab.kit.edu/kit/scc/sys/mail/exim-encrypt-dlfunc.git
synced 2025-12-06 08:03:55 +01:00
meson cleanup
This commit is contained in:
@ -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:
|
||||||
|
|
||||||
|
|||||||
@ -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()
|
||||||
|
|||||||
@ -1,12 +1,12 @@
|
|||||||
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 ],
|
||||||
install: true)
|
install: true)
|
||||||
|
|
||||||
|
|
||||||
simple_exim_test = find_program('simple_exim_test.sh')
|
simple_exim_test = find_program('simple_exim_test.sh')
|
||||||
|
|||||||
Reference in New Issue
Block a user