From: Magnus Jacobsson Date: Sun, 22 Aug 2021 09:22:29 +0000 (+0200) Subject: plugin/webp: autotools: add linking to gvc X-Git-Tag: 2.49.1~5^2~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=87f440c1f5aca1f14886f47e9e7bf64522653019;p=graphviz plugin/webp: autotools: add linking to gvc E.g. plugin/webp/gvloadimage_webp.c used gvusershape_file_access from lib/gvc/gvusershape.c. Fixes the following errors with Cygwin: gvloadimage_webp.o: in function `webp_loadimage': plugin/webp/gvloadimage_webp.c:139: undefined reference to `__imp_gvusershape_file_access' plugin/webp/gvloadimage_webp.c:153: undefined reference to `__imp_gvusershape_file_release' plugin/webp/gvloadimage_webp.c:153: undefined reference to `__imp_gvusershape_file_release' gvdevice_webp.o: in function `writer': plugin/webp/gvdevice_webp.c:43: undefined reference to `gvwrite' --- diff --git a/plugin/webp/Makefile.am b/plugin/webp/Makefile.am index cb2874d34..dbd5e72c2 100644 --- a/plugin/webp/Makefile.am +++ b/plugin/webp/Makefile.am @@ -25,7 +25,8 @@ libgvplugin_webp_C_la_SOURCES = \ libgvplugin_webp_la_LDFLAGS = -version-info @GVPLUGIN_VERSION_INFO@ libgvplugin_webp_la_SOURCES = $(libgvplugin_webp_C_la_SOURCES) -libgvplugin_webp_la_LIBADD = @WEBP_LIBS@ @PANGOCAIRO_LIBS@ +libgvplugin_webp_la_LIBADD = @WEBP_LIBS@ @PANGOCAIRO_LIBS@ \ + $(top_builddir)/lib/gvc/libgvc.la if WITH_WIN32 libgvplugin_webp_la_LDFLAGS += -no-undefined