reftests: Drop libtool hack
authorMatthias Clasen <mclasen@redhat.com>
Fri, 1 Nov 2019 17:32:56 +0000 (13:32 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 1 Nov 2019 17:37:43 +0000 (13:37 -0400)
We are not using libtool anymore.

testsuite/reftests/reftest-module.c

index 78fd1833aa0a36f0b28974fac12a1c458d5c25be..acab3595227efc59e017d0a6216717189b6913b5 100644 (file)
@@ -98,25 +98,8 @@ reftest_module_new (const char *directory,
   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)
-        {
-          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)
-        {
-          g_free (full_path);
-          return NULL;
-        }
+      return NULL;
     }
 
   return reftest_module_new_take (module, full_path);