tt: fix link order for tt_type_comp and dbck
authorJon Trulson <jon@radscan.com>
Tue, 24 Mar 2020 17:34:51 +0000 (11:34 -0600)
committerJon Trulson <jon@radscan.com>
Tue, 24 Mar 2020 17:34:51 +0000 (11:34 -0600)
These caused link errors on Gentoo, maybe other systems.

Patch by Peter G.

cde/lib/tt/bin/dbck/Makefile.am
cde/lib/tt/bin/tt_type_comp/Makefile.am

index 30308e08f6f32b6ac463ac4e040272f0c8abefda..8f186d764a9442eae51fa5f27116f6ed3b39b91d 100644 (file)
@@ -4,7 +4,7 @@ include ../../tooltalk.inc
 
 bin_PROGRAMS = ttdbck
 
-ttdbck_LDADD = @LIBTT@ ../../slib/libstt.a ../../mini_isam/libisam.a \
+ttdbck_LDADD = ../../slib/libstt.a ../../mini_isam/libisam.a @LIBTT@ \
        $(XTOOLLIB) 
 
 ttdbck_CXXFLAGS = -I../../slib -I../../lib -I../../mini_isam \
index 1c9a73f4f7d96407a5d9f617b614ba13085ade55..ea1962ae2c4c64006232eaa79536eb9091540b6a 100644 (file)
@@ -17,7 +17,7 @@ tt_type_comp_CXXFLAGS = -I../../lib -I../../slib \
 tt_type_comp_SOURCES = mp_type_comp.C        mp_types_table.C \
                frozen.mp_types_lex.C frozen.mp_types_gram.C
 
-tt_type_comp_LDADD = $(LIBTT) ../../slib/libstt.a $(XTOOLLIB)
+tt_type_comp_LDADD = ../../slib/libstt.a $(LIBTT) $(XTOOLLIB)
 
 if SOLARIS
 tt_type_comp_LDADD += $(XTOOLLIB) -ldl -lintl -lsocket -lnsl