p11kit: switch to dlopen()
This commit is contained in:
@@ -76,7 +76,9 @@ tests += [
|
||||
[],
|
||||
core_includes],
|
||||
|
||||
[files('test-dlopen-so.c')],
|
||||
[files('test-dlopen-so.c'),
|
||||
[],
|
||||
libp11kit_cflags],
|
||||
|
||||
[files('test-job-type.c'),
|
||||
[libcore,
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
#include "macro.h"
|
||||
#include "main-func.h"
|
||||
#include "pcre2-util.h"
|
||||
#include "pkcs11-util.h"
|
||||
#include "pwquality-util.h"
|
||||
#include "qrcode-util.h"
|
||||
#include "tests.h"
|
||||
@@ -60,6 +61,10 @@ static int run(int argc, char **argv) {
|
||||
assert_se(dlopen_pcre2() >= 0);
|
||||
#endif
|
||||
|
||||
#if HAVE_P11KIT
|
||||
assert_se(dlopen_p11kit() >= 0);
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user