[PATCH smproxy] Add ice and x11 to PKG_CHECK_MODULES
Robert Hooker
sarvatt at ubuntu.com
Thu Dec 9 10:04:30 PST 2010
From: Robert Hooker <robert.hooker at canonical.com>
Fixes these build failures with ld --no-add-needed
CCLD smproxy
/usr/bin/ld: smproxy.o: undefined reference to symbol 'IceProcessMessages'
/usr/bin/ld: note: 'IceProcessMessages' is defined in DSO /usr/lib/libICE.so.6 so try adding it to the linker command line
/usr/lib/libICE.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
CCLD smproxy
/usr/bin/ld: smproxy.o: undefined reference to symbol 'XGetWMProtocols'
/usr/bin/ld: note: 'XGetWMProtocols' is defined in DSO /usr/lib/libX11.so.6 so try adding it to the linker command line
/usr/lib/libX11.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
Signed-off-by: Robert Hooker <robert.hooker at canonical.com>
---
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/configure.ac b/configure.ac
index 14c2ecb..b1e87f2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -38,6 +38,6 @@ XORG_DEFAULT_OPTIONS
AC_CHECK_FUNCS([mkstemp])
# Checks for pkg-config packages
-PKG_CHECK_MODULES(SMPROXY, sm xt xmuu)
+PKG_CHECK_MODULES(SMPROXY, sm ice x11 xt xmuu)
AC_OUTPUT([Makefile])
--
1.7.2.3
More information about the xorg-devel
mailing list