diff 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
line wrap: on
line diff
--- a/tests/test-dl-plugin.c	Mon Sep 20 10:06:54 2021 +0200
+++ b/tests/test-dl-plugin.c	Wed Sep 22 15:44:36 2021 +0200
@@ -37,7 +37,7 @@
 	(void)udata;
 
 	/* TODO: No idea how to stop greatest from here. */
-	if ((plugin = dl_plugin_open("example", TOP "/tests/data/example-dl-plugin.so")) == NULL)
+	if ((plugin = dl_plugin_open("example", EXAMPLE_DL_PLUGIN)) == NULL)
 		irc_util_die("dlopen: %s\n", strerror(errno));
 }