          if status == 0:
              return output
          return None
-@@ -1039,14 +1056,14 @@
+@@ -1165,14 +1182,14 @@
          if options.get('local_freetype'):
              return "Using local version for testing"
  

                 for include in default_include_dirs:
                     dir = os.path.join(base, include)
                     if os.path.exists(dir):
@@ -387,7 +404,7 @@
             return None
 
         status, output = getstatusoutput(

             self.has_pkgconfig = False
         else:
             try:
@@ -436,7 +448,7 @@
                 self.pkg_config = 'pkg-config'
 
             self.set_pkgconfig_path()
