waf 1.8: Fix heimdal configure.
authorThomas Nagy <tnagy2pow10@gmail.com>
Thu, 19 Mar 2015 17:38:09 +0000 (18:38 +0100)
committerMichael Adam <obnox@samba.org>
Mon, 4 May 2015 16:20:47 +0000 (18:20 +0200)
source4/heimdal_build/wscript_configure

index a123b3d4ecadc56817ddd5546b85f6403d9a0db0..54c0cf5eb4bd54bf9cf847e9248a0b61795011b5 100755 (executable)
@@ -175,7 +175,7 @@ if not krb5_config:
     krb5_config = conf.find_program("krb5-config", var="HEIMDAL_KRB5_CONFIG")
 if krb5_config:
     # Not ideal, but seems like the best way to get at these paths:
-    f = open(krb5_config, 'r')
+    f = open(krb5_config[0], 'r')
     try:
         for l in f:
             if l.startswith("libdir="):