From 8b7226bb432f9c5e1962ffc319b55c3d46ab6dbe Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Tue, 25 Jan 2022 14:28:45 +0100 Subject: [PATCH] * builds/unix/configure.raw (FT_DEMO_CFLAGS): Pass `-DHAVE-LIBRSVG`. This helps in decoupling library support from `pkg-config` for other platforms. --- builds/unix/configure.raw | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builds/unix/configure.raw b/builds/unix/configure.raw index 08ec21ad8..e9eb0ee39 100644 --- a/builds/unix/configure.raw +++ b/builds/unix/configure.raw @@ -538,7 +538,7 @@ FT_DEMO_CFLAGS="" 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