[gnome-settings-daemon] xsettings: Fix 'make distcheck' on Fedora 17



commit 19e9a00b89d01f601c1db1b87a21b452677f9813
Author: Richard Hughes <richard hughsie com>
Date:   Sat Mar 10 08:02:35 2012 +0000

    xsettings: Fix 'make distcheck' on Fedora 17
    
    We need fontconfig for the xsettings test program:
    
      CCLD   test-xsettings
    /usr/bin/ld: test_xsettings-fontconfig-monitor.o: undefined reference to symbol 'FcInit'
    /usr/bin/ld: note: 'FcInit' is defined in DSO /lib64/libfontconfig.so.1 so try adding it to the linker command line
    /lib64/libfontconfig.so.1: could not read symbols: Invalid operation
    collect2: error: ld returned 1 exit status

 plugins/xsettings/Makefile.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plugins/xsettings/Makefile.am b/plugins/xsettings/Makefile.am
index f457143..84f2bb5 100644
--- a/plugins/xsettings/Makefile.am
+++ b/plugins/xsettings/Makefile.am
@@ -15,6 +15,7 @@ test_gtk_modules_CFLAGS =		\
 	$(AM_CFLAGS)
 
 test_gtk_modules_LDADD =		\
+	$(FONTCONFIG_LIBS)		\
 	$(SETTINGS_PLUGIN_LIBS)
 
 test_gtk_modules_CPPFLAGS =				\



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]