diff options
author | Ariadne Conill <ariadne@dereferenced.org> | 2022-01-13 08:14:24 -0600 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2022-03-30 09:17:25 +0000 |
commit | 8051d458c61a8b250c4be256b85b5d67e2b592ac (patch) | |
tree | 79ca5dfe22a0f7fbd9fc1b9d34f720b12b8249c2 /src | |
parent | bc2b5b69b7c016c055e7d25cbfc96b3004e64af2 (diff) | |
download | apk-tools-8051d458c61a8b250c4be256b85b5d67e2b592ac.tar.gz apk-tools-8051d458c61a8b250c4be256b85b5d67e2b592ac.tar.bz2 apk-tools-8051d458c61a8b250c4be256b85b5d67e2b592ac.tar.xz apk-tools-8051d458c61a8b250c4be256b85b5d67e2b592ac.zip |
meson: support definition of a custom abi tag
this is intended to allow for distributions to have alternate streams, such as
glibc-x86_64 or darwin-aarch64
Diffstat (limited to 'src')
-rw-r--r-- | src/meson.build | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/meson.build b/src/meson.build index f83ad62..6ca4d68 100644 --- a/src/meson.build +++ b/src/meson.build @@ -115,6 +115,11 @@ apk_cargs = [ '-D_ATFILE_SOURCE', ] +apk_abi_tag = get_option('abi_tag') +if apk_abi_tag != '' + apk_cargs += ['-DAPK_ABI_TAG="@0@"'.format(apk_abi_tag)] +endif + libapk_shared = shared_library( 'apk', libapk_src, |