[gnome-keyring] [gck] Don't load *.la files as PKCS#11 modules.
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-keyring] [gck] Don't load *.la files as PKCS#11 modules.
- Date: Mon, 6 Dec 2010 21:00:27 +0000 (UTC)
commit f397c297c7a150eadfb4d1ab29d13a15cbadbf60
Author: Stef Walter <stefw collabora co uk>
Date: Mon Dec 6 20:59:48 2010 +0000
[gck] Don't load *.la files as PKCS#11 modules.
grumble, grumble, libtool, grumble.
gck/gck-modules.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gck/gck-modules.c b/gck/gck-modules.c
index d05a5f0..a5b0b46 100644
--- a/gck/gck-modules.c
+++ b/gck/gck-modules.c
@@ -73,6 +73,10 @@ gck_modules_list_registered_paths (GError **err)
if (!name)
break;
+ /* HACK: libtool can bite my shiny metal ass */
+ if (g_str_has_suffix (name, ".la"))
+ continue;
+
path = g_build_filename (PKCS11_REGISTRY_DIR, name, NULL);
if (g_file_test (path, G_FILE_TEST_EXISTS | G_FILE_TEST_IS_REGULAR))
g_array_append_val (paths, path);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]