ref: 8b7226bb432f9c5e1962ffc319b55c3d46ab6dbe
parent: 6a8e95b7a03c4f81db5caf0e00ebda95fe2cae06
author: Werner Lemberg <wl@gnu.org>
date: Tue Jan 25 09:28:45 EST 2022
* builds/unix/configure.raw (FT_DEMO_CFLAGS): Pass `-DHAVE-LIBRSVG`. This helps in decoupling library support from `pkg-config` for other platforms.
--- a/builds/unix/configure.raw
+++ b/builds/unix/configure.raw
@@ -538,7 +538,7 @@
FT_DEMO_LDFLAGS="$LIB_CLOCK_GETTIME"
if test "$have_librsvg" != no; then
- FT_DEMO_CFLAGS="$FT_DEMO_CFLAGS $LIBRSVG_CFLAGS"
+ FT_DEMO_CFLAGS="$FT_DEMO_CFLAGS $LIBRSVG_CFLAGS -DHAVE_LIBRSVG"
FT_DEMO_LDFLAGS="$FT_DEMO_LDFLAGS $LIBRSVG_LIBS"
fi