]> granicus.if.org Git - graphviz/commitdiff
Wrap libdir definition with DISABLE_LTDL wrapper, as it is only needed
authorerg <devnull@localhost>
Fri, 24 Jun 2005 22:22:55 +0000 (22:22 +0000)
committererg <devnull@localhost>
Fri, 24 Jun 2005 22:22:55 +0000 (22:22 +0000)
if DISABLE_LTDL is not defined.

lib/gvc/gvplugin.c

index 344c289a682a048b9c7488aca05d4dded10b0758..afc5d4543f4d598a52e30bcf881fb21a58567c14 100644 (file)
@@ -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.