List libtoytoolkit.la before libwayland-client.la on the link line

Fixes link order for --as-needed linking.
This commit is contained in:
Kristian Høgsberg 2010-10-27 15:02:51 -04:00
parent 61a8251360
commit 332073b9db

View File

@ -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)"'