[gtk/reftest-fixes: 1/2] reftests: Drop libtool hack
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/reftest-fixes: 1/2] reftests: Drop libtool hack
- Date: Fri, 1 Nov 2019 17:38:43 +0000 (UTC)
commit 22bb1bd56800fa25a716e32641d1d9f12bc9422d
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Nov 1 13:32:56 2019 -0400
reftests: Drop libtool hack
We are not using libtool anymore.
testsuite/reftests/reftest-module.c | 19 +------------------
1 file changed, 1 insertion(+), 18 deletions(-)
---
diff --git a/testsuite/reftests/reftest-module.c b/testsuite/reftests/reftest-module.c
index 78fd1833aa..acab359522 100644
--- a/testsuite/reftests/reftest-module.c
+++ b/testsuite/reftests/reftest-module.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]