]> granicus.if.org Git - graphviz/commitdiff
Fix gvc .pc file to reflect is graphviz was built with or without cgraph
authorEmden Gansner <erg@research.att.com>
Wed, 27 Feb 2013 18:21:06 +0000 (13:21 -0500)
committerEmden Gansner <erg@research.att.com>
Wed, 27 Feb 2013 18:21:06 +0000 (13:21 -0500)
lib/gvc/libgvc.pc.in

index 4ccac0d10cbbae15df05fae23ec1aebd8420a979..de44d8b14217449cfbf615aaea47dc1f6898305b 100644 (file)
@@ -3,10 +3,13 @@ exec_prefix=@exec_prefix@
 libdir=@libdir@
 includedir=@includedir@/@PACKAGE@
 plugins=@GVPLUGIN_VERSION@
+@WITH_CGRAPH_FALSE@GRAPH = graph
+@WITH_CGRAPH_TRUE@GRAPH = cgraph
+
 
 Name: libgvc
 Description: The GraphVizContext library 
 Version: @VERSION@
-Libs: -L${libdir} -lgvc -lgraph -lcdt
+Libs: -L${libdir} -lgvc -l${GRAPH} -lcdt
 Cflags: -I${includedir}