check: connection-test fails to link to ffi
authorGaetan Nadon <memsize@videotron.ca>
Sun, 4 Mar 2012 17:15:31 +0000 (12:15 -0500)
committerKristian Høgsberg <krh@bitplanet.net>
Sun, 4 Mar 2012 20:03:03 +0000 (15:03 -0500)
This prevents distcheck from completing.
Moving the -lffi at the end of the command fixes the problem.

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
tests/Makefile.am

index c6e1007..30a8348 100644 (file)
@@ -8,5 +8,5 @@ array_test_SOURCES = array-test.c test-runner.c
 connection_test_SOURCES = connection-test.c test-runner.c
 
 AM_CFLAGS = $(GCC_CFLAGS)
-LDADD = $(FFI_LIBS) $(top_builddir)/src/libwayland-util.la -lrt
+LDADD = $(top_builddir)/src/libwayland-util.la -lrt $(FFI_LIBS)