]> granicus.if.org Git - graphviz/commitdiff
fix for plugin loading on HPUX
authorellson <devnull@localhost>
Thu, 1 Dec 2005 04:40:32 +0000 (04:40 +0000)
committerellson <devnull@localhost>
Thu, 1 Dec 2005 04:40:32 +0000 (04:40 +0000)
Bob Lied <lied@lucent.com>

lib/gvc/gvconfig.c

index 2ca05b38408f5b5e84041b02d9a9622fe471fb6d..ac520e326c530fedc4bc722454813a2533d40fff 100644 (file)
@@ -285,6 +285,9 @@ static void config_rescan(GVC_t *gvc, char *config_path)
     plugin_glob = "cyggvplugin_*";
     char *plugin_re_beg = "[^0-9]-";
     char *plugin_re_end = "\\.dll$"; 
+#elif defined(__hpux__)
+    char *plugin_re_beg = "\\.sl\\.";
+    char *plugin_re_end = "$"; 
 #else
     /* Everyone else */
     char *plugin_re_beg = "\\.so\\.";