components/krb5/patches/064-enable-debug-compile.patch
author Will Fiveash <will.fiveash@oracle.com>
Wed, 24 Feb 2016 10:43:57 -0600
changeset 5490 9bf0bc57423a
permissions -rw-r--r--
PSARC/2015/144 Kerberos 1.13 Delivery to Userland 19153034 Add MIT Kerberos to the Userland Consolidation

#
# This patch fixes a minor issue where the hostrealm plugin test program will
# not compile non-optimized.  There is a MIT ticket which they intend on
# fixing: Ticket #8326 hostrealm code won't compile in debug mode using Solaris
# Studio C 
# Patch source: in-house
#
diff -ur krb5-1.13.2/src/plugins/hostrealm/test/Makefile.in krb5-1.13.2.debug-build/src/plugins/hostrealm/test/Makefile.in
--- krb5-1.13.2/src/plugins/hostrealm/test/Makefile.in
+++ krb5-1.13.2.debug-build/src/plugins/hostrealm/test/Makefile.in
@@ -5,9 +5,10 @@
 LIBMAJOR=0
 LIBMINOR=0
 RELDIR=../plugins/hostrealm/test
-# Depends on libkrb5
-SHLIB_EXPDEPS= $(KRB5_DEPLIB)
-SHLIB_EXPLIBS= $(KRB5_LIB)
+# Depends on libkrb5 and libkrb5support when building non-optimized with
+# certain compilers.
+SHLIB_EXPDEPS= $(KRB5_DEPLIB) $(SUPPORT_DEPLIB)
+SHLIB_EXPLIBS= $(KRB5_LIB) $(SUPPORT_LIB)
 
 STLIBOBJS=main.o