From: erg Date: Fri, 24 Jun 2005 22:22:55 +0000 (+0000) Subject: Wrap libdir definition with DISABLE_LTDL wrapper, as it is only needed X-Git-Tag: LAST_LIBGRAPH~32^2~7494 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b2265a941e8887d7dd3c5875818504199f2d5d66;p=graphviz Wrap libdir definition with DISABLE_LTDL wrapper, as it is only needed if DISABLE_LTDL is not defined. --- diff --git a/lib/gvc/gvplugin.c b/lib/gvc/gvplugin.c index 344c289a6..afc5d4543 100644 --- a/lib/gvc/gvplugin.c +++ b/lib/gvc/gvplugin.c @@ -31,7 +31,9 @@ #include "gvc.h" #include "graph.h" +#ifndef DISABLE_LTDL static char *libdir = GVLIBDIR; +#endif /* * Define an apis array of name strings using an enumerated api_t as index.