Print this page
NEX-5202 krb5 must make sure local db headers precede any possible system db headers
Reviewed by: Hans Rosenfeld <hans.rosenfeld@nexenta.com>
Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>
@@ -89,11 +89,12 @@
POFILES = generic.po
#override liblink
INS.liblink= -$(RM) $@; $(SYMLINK) $(LIBLINKS)$(VERS) $@
-CPPFLAGS += -DHAVE_CONFIG_H \
+# We need to ensure we find our own libdb2, not any that happen to be on the system
+CPPFLAGS.first += -DHAVE_CONFIG_H \
-I$(SRC)/lib/krb5/plugins/kdb/db2/libdb2/mpool \
-I$(SRC)/lib/krb5/plugins/kdb/db2/libdb2/db \
-I$(SRC)/lib/krb5/plugins/kdb/db2/libdb2/hash \
-I$(SRC)/lib/krb5/plugins/kdb/db2/libdb2/btree \
-I$(SRC)/lib/krb5/plugins/kdb/db2/libdb2/recno \