From ea0c47f9d0d969a1f7a0b85f24585fa6b86d3c1d Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Sat, 27 Mar 1999 11:37:53 +0000 Subject: [PATCH] link print_version with -ldes to avoid unresolved references if -lkrb is shared git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5767 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/roken/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/roken/Makefile.am b/lib/roken/Makefile.am index ea4eb151f..950e445e8 100644 --- a/lib/roken/Makefile.am +++ b/lib/roken/Makefile.am @@ -10,7 +10,9 @@ libroken_la_LDFLAGS = -version-info 0:0:0 noinst_PROGRAMS = make-roken make-print-version if KRB5 -make_print_version_LDADD += $(LIB_krb4) +## need to link with des here; otherwise, if krb4 is shared the link +## will fail with unresolved references +make_print_version_LDADD += $(LIB_krb4) -ldes endif libroken_la_SOURCES = \