From 332073b9db50fefe3ee7bdd85808d90732ae43ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Wed, 27 Oct 2010 15:02:51 -0400 Subject: [PATCH] List libtoytoolkit.la before libwayland-client.la on the link line Fixes link order for --as-needed linking. --- clients/Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/clients/Makefile.am b/clients/Makefile.am index 505b5100..d1e71341 100644 --- a/clients/Makefile.am +++ b/clients/Makefile.am @@ -3,8 +3,9 @@ noinst_LTLIBRARIES = libtoytoolkit.la INCLUDES = -I$(top_srcdir)/wayland $(CLIENT_CFLAGS) $(POPPLER_CFLAGS) -LDADD = $(top_builddir)/wayland/libwayland-client.la \ - libtoytoolkit.la $(CLIENT_LIBS) -lrt -lm +LDADD = libtoytoolkit.la \ + $(top_builddir)/wayland/libwayland-client.la \ + $(CLIENT_LIBS) -lrt -lm AM_CPPFLAGS = -DDATADIR='"$(datadir)"'