components/krb5/patches/064-enable-debug-compile.patch
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Sat, 14 May 2016 15:38:32 -0700
changeset 5986 bab15c34f645
parent 5490 9bf0bc57423a
permissions -rw-r--r--
backout 22954706/23116276 - needs more work

#
# 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