[gnome-packagekit] Ensure we detect and use x11 to fix the compile when linking with --as-needed
- From: Richard Hughes <rhughes src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-packagekit] Ensure we detect and use x11 to fix the compile when linking with --as-needed
- Date: Wed, 6 Jan 2010 19:03:23 +0000 (UTC)
commit 6370fd66e17b75acece7e08b0b70850651407ad9
Author: Richard Hughes <richard hughsie com>
Date: Wed Jan 6 19:00:53 2010 +0000
Ensure we detect and use x11 to fix the compile when linking with --as-needed
configure.ac | 4 ++++
src/Makefile.am | 1 +
2 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 8ca7d79..199ea82 100644
--- a/configure.ac
+++ b/configure.ac
@@ -185,6 +185,10 @@ PKG_CHECK_MODULES(CANBERRA, libcanberra-gtk >= $CANBERRA_REQUIRED)
AC_SUBST(CANBERRA_CFLAGS)
AC_SUBST(CANBERRA_LIBS)
+PKG_CHECK_MODULES(X11, x11)
+AC_SUBST(X11_CFLAGS)
+AC_SUBST(X11_LIBS)
+
dnl ---------------------------------------------------------------------------
dnl - GUdev integration (default enabled)
dnl ---------------------------------------------------------------------------
diff --git a/src/Makefile.am b/src/Makefile.am
index 8568f60..9590594 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -105,6 +105,7 @@ shared_LIBS = \
$(GNOME_MENUS_LIBS) \
$(DEVKIT_LIBS) \
$(CANBERRA_LIBS) \
+ $(X11_LIBS) \
$(NULL)
gpk_install_provide_file_SOURCES = \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]