The 'kinit' admin tool is the only installable executable linked against
libkdb5, hence this library is solely needed in that case. Similarly now only
admin libs depend on libgssrpc, therefore restrict its installation accordingly.

Signed-off-by: Ulrich Ölmann <[email protected]>
---
 rules/krb5.make | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rules/krb5.make b/rules/krb5.make
index 10240a289598..412433c4e869 100644
--- a/rules/krb5.make
+++ b/rules/krb5.make
@@ -91,15 +91,15 @@ $(STATEDIR)/krb5.targetinstall:
        @$(call install_fixup, krb5,DESCRIPTION,missing)
 
        @$(call install_lib, krb5, 0, 0, 0644, libgssapi_krb5)
-       @$(call install_lib, krb5, 0, 0, 0644, libgssrpc)
        @$(call install_lib, krb5, 0, 0, 0644, libk5crypto)
-       @$(call install_lib, krb5, 0, 0, 0644, libkdb5)
        @$(call install_lib, krb5, 0, 0, 0644, libkrb5)
        @$(call install_lib, krb5, 0, 0, 0644, libkrb5support)
 
 ifdef PTXCONF_KRB5_ADMIN_LIBS
+       @$(call install_lib, krb5, 0, 0, 0644, libgssrpc)
        @$(call install_lib, krb5, 0, 0, 0644, libkadm5clnt_mit)
        @$(call install_lib, krb5, 0, 0, 0644, libkadm5srv_mit)
+       @$(call install_lib, krb5, 0, 0, 0644, libkdb5)
 endif
 
 ifdef PTXCONF_KRB5_CLIENT_TOOLS
-- 
2.30.2


_______________________________________________
ptxdist mailing list
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to 
[email protected]

Reply via email to