[PATCH] Add -lwayland-server flag

EdB edb at sigluy.net
Wed Mar 2 10:13:55 PST 2011


Signed-off-by: EdB <edb at sigluy.net>
---
 clients/Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/clients/Makefile.am b/clients/Makefile.am
index ee61efd..19a8bce 100644
--- a/clients/Makefile.am
+++ b/clients/Makefile.am
@@ -30,7 +30,7 @@ libtoytoolkit_a_SOURCES =			\
 
 toolkit_libs =					\
 	libtoytoolkit.a				\
-	$(CLIENT_LIBS) -lrt -lm
+	$(CLIENT_LIBS) -lrt -lm -lwayland-server
 
 gears_SOURCES = gears.c
 gears_LDADD = $(toolkit_libs)
@@ -57,7 +57,7 @@ resizor_SOURCES = resizor.c
 resizor_LDADD = $(toolkit_libs)
 
 simple_client_SOURCES = simple-client.c
-simple_client_LDADD = $(SIMPLE_CLIENT_LIBS) -lm
+simple_client_LDADD = $(SIMPLE_CLIENT_LIBS) -lm -lwayland-server
 
 eventdemo_SOURCES = eventdemo.c
 eventdemo_LDADD = $(toolkit_libs)
-- 
1.7.4



More information about the wayland-devel mailing list