]> granicus.if.org Git - graphviz/commitdiff
fix check for library version using LT_CURRENT
authorellson <devnull@localhost>
Tue, 18 Oct 2005 19:06:02 +0000 (19:06 +0000)
committerellson <devnull@localhost>
Tue, 18 Oct 2005 19:06:02 +0000 (19:06 +0000)
lib/gvc/gvconfig.c

index b867ea21ce03240da603d705dda77da76a6eb023..2cae8e4444d34c50e0d27ef24dd115ec19428e28 100644 (file)
@@ -298,7 +298,7 @@ static void config_rescan(GVC_t *gvc, char *config_path)
     libdir = gvconfig_libdir();
 
     config_re = gmalloc(strlen(plugin_re_beg) + 20 + strlen(plugin_re_end) + 1);
-#ifdef LT_VERSION
+#ifdef LT_CURRENT
     sprintf(config_re,"%s%d%s", LT_CURRENT, plugin_re_beg, plugin_re_end);
 #else
     sprintf(config_re,"%s[0-9]+%s", plugin_re_beg, plugin_re_end);