blob: 84e5fd868d2880dbd82765abcf358a6749277caf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-setup.py,v 1.1 2016/06/09 02:06:18 markd Exp $
Support heimdal
--- setup.py.orig 2016-01-25 17:55:44.000000000 +0000
+++ setup.py
@@ -80,6 +80,8 @@ extra_link_args = getoutput("krb5-config
extra_compile_args = getoutput("krb5-config --cflags gssapi").split()
+if getoutput("krb5-config --version").find("heimdal") != -1:
+ extra_compile_args.append("-DHEIMDAL")
#
# Set up Extension modules that need to be built
|