krb5/krb5-1.6-nodeplibs.patch
Nalin Dahyabhai ea9e19241a - omit dependent libraries from the krb5-config --libs output, as using
shared libraries (no more static libraries) makes them unnecessary and
    they're not part of the libkrb5 interface (patch by Rex Dieter,
    #240220) (strips out libkeyutils, libresolv, libdl)
2007-05-16 19:48:19 +00:00

16 lines
590 B
Diff

Omit extra libraries because their interfaces aren't exposed to applications
by libkrb5. Discussion on krbdev suggests that this will be controlled one
way or another by the --deps flag in future upstream releases.
--- krb5-1.6/src/krb5-config.in.extralibs 2007-05-15 15:00:15.000000000 -0500
+++ krb5-1.6/src/krb5-config.in 2007-05-15 15:07:04.000000000 -0500
@@ -222,7 +222,7 @@
fi
if test $library = 'krb5'; then
- lib_flags="$lib_flags -lkrb5 -lk5crypto -lcom_err $GEN_LIB $LIBS $DL_LIB"
+ lib_flags="$lib_flags -lkrb5 -lk5crypto -lcom_err"
fi
echo $lib_flags