summaryrefslogtreecommitdiff
path: root/clients/Makefile.am
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2010-10-27 15:02:51 -0400
committerKristian Høgsberg <krh@bitplanet.net>2010-10-27 15:02:51 -0400
commit332073b9db50fefe3ee7bdd85808d90732ae43ce (patch)
treee53bcccc5b6b9bf8f90e4092b911c3c16c540b50 /clients/Makefile.am
parent61a8251360f36bcbc5ff6d21ab43ad288010c0a9 (diff)
List libtoytoolkit.la before libwayland-client.la on the link line
Fixes link order for --as-needed linking.
Diffstat (limited to 'clients/Makefile.am')
-rw-r--r--clients/Makefile.am5
1 files 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)"'