Codebase list krb5 / e2cd4f2
Use -isystem for include paths This is necessary so Kerberos headers files are classified as "system headers" by the compiler, and thus not subject to the same strict warnings as other headers (which breaks compilation if -Werror is specified). . This fixes the build of folks using -Werror and including Kerberos headers when the latter are installed in a non-standard location (e.g. /usr/include/tuple/mit-krb5, as Debian is doing). (cherry picked from commit d8520c1d1c218e3c766009abc728b207c0421232) Author: Jelmer Vernooij <jelmer@debian.org> Bug-Debian: http://bugs.debian.org/751760 Patch-Category: debian-local Jelmer Vernooij authored 9 years ago Benjamin Kaduk committed 7 years ago
7 changed file(s) with 7 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
66 Name: gssrpc
77 Description: GSSAPI RPC implementation
88 Version: @KRB5_VERSION@
9 Cflags: -I${includedir}
9 Cflags: -isystem ${includedir}
1010 Libs: -L${libdir} -lgssrpc
1111 Requires.private: mit-krb5-gssapi
66 Description: Kerberos administration client library
77 Version: @KRB5_VERSION@
88 Requires.private: mit-krb5-gssapi gssrpc
9 Cflags: -I${includedir}
9 Cflags: -isystem ${includedir}
1010 Libs: -L${libdir} -lkadm5clnt_mit
66 Description: Kerberos administration server library
77 Version: @KRB5_VERSION@
88 Requires.private: kdb mit-krb5-gssapi
9 Cflags: -I${includedir}
9 Cflags: -isystem ${includedir}
1010 Libs: -L${libdir} -lkadm5srv_mit
88 Description: Kerberos database access libraries
99 Version: @KRB5_VERSION@
1010 Requires.private: mit-krb5-gssapi mit-krb5 gssrpc
11 Cflags: -I${includedir}
11 Cflags: -isystem ${includedir}
1212 Libs: -L${libdir} -lkdb5
1313 Libs.private: ${KDB5_DB_LIB}
200200
201201 if test -n "$do_cflags"; then
202202 if test x"$includedir" != x"/usr/include" ; then
203 echo "-I${includedir}"
203 echo "-isystem ${includedir}"
204204 else
205205 echo ''
206206 fi
66 Description: Kerberos implementation of the GSSAPI
77 Version: @KRB5_VERSION@
88 Requires.private: mit-krb5
9 Cflags: -I${includedir}
9 Cflags: -isystem ${includedir}
1010 Libs: -L${libdir} -lgssapi_krb5
99 Name: mit-krb5
1010 Description: An implementation of Kerberos network authentication
1111 Version: @KRB5_VERSION@
12 Cflags: -I${includedir}
12 Cflags: -isystem ${includedir}
1313 Libs: -L${libdir} -lkrb5 -lk5crypto -lcom_err
1414 Libs.private: -lkrb5support