diff options
author | Stef Walter <stefw@collabora.co.uk> | 2010-12-06 20:59:48 +0000 |
---|---|---|
committer | Stef Walter <stefw@collabora.co.uk> | 2010-12-06 20:59:48 +0000 |
commit | eb4ce2617284ed0c94ce5be47d8daa1065017d53 (patch) | |
tree | 1154837b8d2ff92e1b10b498e775c8321689af59 /gck/gck-modules.c | |
parent | 46dffd50d152b429e8bf82b269aa11d79749adcf (diff) | |
download | gcr-eb4ce2617284ed0c94ce5be47d8daa1065017d53.tar.gz |
[gck] Don't load *.la files as PKCS#11 modules.
grumble, grumble, libtool, grumble.
Diffstat (limited to 'gck/gck-modules.c')
-rw-r--r-- | 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); |