From 3eee0eb0c8a452b9abba6babac564d2acea1390f Mon Sep 17 00:00:00 2001 From: Emden Gansner Date: Wed, 27 Feb 2013 13:21:06 -0500 Subject: [PATCH] Fix gvc .pc file to reflect is graphviz was built with or without cgraph --- lib/gvc/libgvc.pc.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/gvc/libgvc.pc.in b/lib/gvc/libgvc.pc.in index 4ccac0d10..de44d8b14 100644 --- a/lib/gvc/libgvc.pc.in +++ b/lib/gvc/libgvc.pc.in @@ -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} -- 2.40.0