tests/automake.mk: Fix building of test runners
authorJohn Darrington <john@darrington.wattle.id.au>
Sat, 10 Apr 2021 06:24:47 +0000 (08:24 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Sat, 10 Apr 2021 06:28:41 +0000 (08:28 +0200)
For certain architectures, the order of libraries is important.  Dependent
libraries must appear before the libraries which depend upon them.

tests/automake.mk

index 537bfef635c9bba9b00423d45527e19ef0eebc9b..ec81e5288140196c5dbd368faf8c00d80e8480d7 100644 (file)
@@ -262,13 +262,13 @@ tests_ui_syntax_gen_test_LDADD = \
 check_PROGRAMS += tests/output/tex-glyphs
 tests_output_tex_glyphs_SOURCES = \
        tests/output/tex-glyphs.c
-tests_output_tex_glyphs_LDADD = src/libpspp-core.la src/output/liboutput.la
+tests_output_tex_glyphs_LDADD = src/output/liboutput.la src/libpspp-core.la
 tests_output_tex_glyphs_CFLAGS = $(AM_CFLAGS) -I $(top_srcdir)/src/output
 
 check_PROGRAMS += tests/output/tex-strings
 tests_output_tex_strings_SOURCES = \
        tests/output/tex-strings.c
-tests_output_tex_strings_LDADD = src/libpspp-core.la src/output/liboutput.la
+tests_output_tex_strings_LDADD = src/output/liboutput.la src/libpspp-core.la
 tests_output_tex_strings_CFLAGS = $(AM_CFLAGS) -I $(top_srcdir)/src/output