[PATCH] cursor: Link libwayland-cursor to libwayland-client

Rob Bradford rob at robster.org.uk
Tue May 29 06:10:30 PDT 2012


From: Rob Bradford <rob at linux.intel.com>

LDADD is only used when linking programs not libraries.

Spotted-by: Pekka Paalanen <ppaalanen at gmail.com>
---
 cursor/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cursor/Makefile.am b/cursor/Makefile.am
index edfa3e3..503559a 100644
--- a/cursor/Makefile.am
+++ b/cursor/Makefile.am
@@ -6,9 +6,9 @@ libwayland_cursor_la_SOURCES =			\
 	wayland-cursor.c			\
 	xcursor.c				\
 	xcursor.h
+libwayland_cursor_la_LIBADD = $(top_builddir)/src/libwayland-client.la
 
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = wayland-cursor.pc
 
 AM_CFLAGS = $(GCC_CFLAGS) -I../src
-LDADD = $(top_builddir)/src/libwayland-client.la
-- 
1.7.7.6



More information about the wayland-devel mailing list