reftests: Drop libtool hack

We are not using libtool anymore.
This commit is contained in:
Matthias Clasen 2019-11-01 13:32:56 -04:00
parent eca7fa075e
commit 22bb1bd568

View File

@ -88,22 +88,6 @@ reftest_module_new (const char *directory,
full_path = g_module_build_path (directory, module_name);
result = reftest_module_find_existing (full_path);
if (result)
{
g_free (full_path);
return reftest_module_ref (result);
}
module = g_module_open (full_path, G_MODULE_BIND_LOCAL | G_MODULE_BIND_LAZY);
if (module == NULL)
{
/* libtool hack */
char *libtool_dir = g_build_filename (directory, ".libs", NULL);
g_free (full_path);
full_path = g_module_build_path (libtool_dir, module_name);
result = reftest_module_find_existing (full_path);
if (result)
{
@ -117,7 +101,6 @@ reftest_module_new (const char *directory,
g_free (full_path);
return NULL;
}
}
return reftest_module_new_take (module, full_path);
}