2020-11-09 05:23:58 +01:00
|
|
|
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
2017-04-15 02:10:28 +02:00
|
|
|
|
|
|
|
#include <dlfcn.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
|
|
|
#include "macro.h"
|
|
|
|
|
|
|
|
int main(int argc, char **argv) {
|
|
|
|
void *handle;
|
|
|
|
|
2018-05-14 09:12:12 +02:00
|
|
|
assert_se(handle = dlopen(argv[1], RTLD_NOW));
|
2017-04-15 02:10:28 +02:00
|
|
|
assert_se(dlclose(handle) == 0);
|
|
|
|
|
|
|
|
return EXIT_SUCCESS;
|
|
|
|
}
|