vcpkg/ports/cairo/win_dll_def.patch
Alexander Neumann 95836f4883
[cairo] Windows: Fix cairo dll definition (#17596)
* [cairo] fix def name for dll

* version stuff

* use same approach as the fontconfig fix

* update version
2021-05-03 16:14:23 -07:00

14 lines
428 B
Diff

diff --git a/src/Makefile.am b/src/Makefile.am
index df6de0136..b8de9669c 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -72,7 +72,7 @@ cairo.def: cairo-features.h $(enabled_cairo_headers)
$(EGREP) '^cairo_.* \(' | \
sed -e 's/[ ].*//' | \
sort; \
- echo LIBRARY libcairo-$(CAIRO_VERSION_SONUM).dll; \
+ echo LIBRARY cairo-$(CAIRO_VERSION_SONUM).dll; \
) >$@
@ ! grep -q cairo_ERROR $@ || ($(RM) $@; false)