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

Fixes link order for --as-needed linking.
dev
Kristian Høgsberg 14 years ago
parent 61a8251360
commit 332073b9db
  1. 5
      clients/Makefile.am

@ -3,8 +3,9 @@ noinst_LTLIBRARIES = libtoytoolkit.la
INCLUDES = -I$(top_srcdir)/wayland $(CLIENT_CFLAGS) $(POPPLER_CFLAGS) INCLUDES = -I$(top_srcdir)/wayland $(CLIENT_CFLAGS) $(POPPLER_CFLAGS)
LDADD = $(top_builddir)/wayland/libwayland-client.la \ LDADD = libtoytoolkit.la \
libtoytoolkit.la $(CLIENT_LIBS) -lrt -lm $(top_builddir)/wayland/libwayland-client.la \
$(CLIENT_LIBS) -lrt -lm
AM_CPPFLAGS = -DDATADIR='"$(datadir)"' AM_CPPFLAGS = -DDATADIR='"$(datadir)"'

Loading…
Cancel
Save