comparison tests/test-dl-plugin.c @ 1098:6c15d37b7518

cmake: switch back to CMake because of portability issues
author David Demelier <markand@malikania.fr>
date Wed, 22 Sep 2021 15:44:36 +0200
parents d8db515adbd4
children ae8b91ec4e4a
comparison
equal deleted inserted replaced
1097:617c88eb9da9 1098:6c15d37b7518
35 setup(void *udata) 35 setup(void *udata)
36 { 36 {
37 (void)udata; 37 (void)udata;
38 38
39 /* TODO: No idea how to stop greatest from here. */ 39 /* TODO: No idea how to stop greatest from here. */
40 if ((plugin = dl_plugin_open("example", TOP "/tests/data/example-dl-plugin.so")) == NULL) 40 if ((plugin = dl_plugin_open("example", EXAMPLE_DL_PLUGIN)) == NULL)
41 irc_util_die("dlopen: %s\n", strerror(errno)); 41 irc_util_die("dlopen: %s\n", strerror(errno));
42 } 42 }
43 43
44 static void 44 static void
45 teardown(void *udata) 45 teardown(void *udata)