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



commit 51962a63d2d243fd972586ea480ca6243aed8516
Author: Richard Hughes <richard hughsie com>
Date:   Sat Mar 10 08:01:34 2012 +0000

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

 configure.ac |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index e6e258b..3b4789f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -69,6 +69,7 @@ PKG_CHECK_MODULES(SETTINGS_PLUGIN,
         gtk+-3.0 >= $GTK_REQUIRED_VERSION
         gio-2.0 >= $GIO_REQUIRED_VERSION
         gsettings-desktop-schemas
+        x11
 )
 
 GSD_PLUGIN_LDFLAGS="-export_dynamic -module -avoid-version -no-undefined"



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