From 332073b9db50fefe3ee7bdd85808d90732ae43ce Mon Sep 17 00:00:00 2001 From: =?utf8?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 505b510..d1e7134 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)"' -- 2.7.4