--- a/configure.ac 2018-04-29 14:29:31.440768007 -0600 +++ b/configure.ac 2018-04-29 14:41:01.545157191 -0600 @@ -405,6 +405,7 @@ sysroot="" AC_MSG_RESULT([/]) else + SYSROOT=$sysroot AC_MSG_RESULT([$sysroot]) fi --- a/src/Makefile.am 2018-04-29 14:41:25.848584848 -0600 +++ b/src/Makefile.am 2018-04-29 14:41:51.628036083 -0600 @@ -38,7 +38,7 @@ CLEANFILES = stunnel3 # Red Hat "by design" bug #82369 -stunnel_CPPFLAGS = -I/usr/kerberos/include +stunnel_CPPFLAGS = -I$(SYSROOT)/usr/kerberos/include # Additional preprocesor definitions stunnel_CPPFLAGS += -I$(SSLDIR)/include