mirror of
https://github.com/utmapp/qemu.git
synced 2026-12-01 22:23:23 -10:00
Add conditional dependency for libkeyutils
This modification enables better control over the inclusion of libkeyutils based on the configuration, enhancing the flexibility of the build system. Signed-off-by: Max Fritz <[email protected]> Message-Id: <[email protected]> Reviewed-by: Daniel P. Berrangé <[email protected]> [thuth: Remove the "kwargs: static_kwargs" part - it's not necessary anymore] Signed-off-by: Thomas Huth <[email protected]>
This commit is contained in:
1 parent
be4a4cb429
commit
0db0fbb5cf
1 file changed
+4
-2
+4
-2
@@ -1781,8 +1781,10 @@ if gnutls.found()
|
||||
tasn1 = dependency('libtasn1',
|
||||
method: 'pkg-config')
|
||||
endif
|
||||
keyutils = dependency('libkeyutils', required: false,
|
||||
method: 'pkg-config')
|
||||
keyutils = not_found
|
||||
if get_option('keyring').enabled()
|
||||
keyutils = dependency('libkeyutils', required: false, method: 'pkg-config')
|
||||
endif
|
||||
|
||||
has_gettid = cc.has_function('gettid')
|
||||
|
||||
|
||||
Reference in new issue
Block a user