cursor: Link libwayland-cursor to libwayland-client
authorRob Bradford <rob@linux.intel.com>
Tue, 29 May 2012 13:10:30 +0000 (14:10 +0100)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 29 May 2012 14:07:30 +0000 (10:07 -0400)
LDADD is only used when linking programs not libraries.

Spotted-by: Pekka Paalanen <ppaalanen@gmail.com>
cursor/Makefile.am

index edfa3e3..503559a 100644 (file)
@@ -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