From: ellson Date: Tue, 18 Oct 2005 19:06:02 +0000 (+0000) Subject: fix check for library version using LT_CURRENT X-Git-Tag: LAST_LIBGRAPH~32^2~7157 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=42e92a5f78e2a809403c122952902f888eac4912;p=graphviz fix check for library version using LT_CURRENT --- diff --git a/lib/gvc/gvconfig.c b/lib/gvc/gvconfig.c index b867ea21c..2cae8e444 100644 --- a/lib/gvc/gvconfig.c +++ b/lib/gvc/gvconfig.c @@ -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);