[WinCairo] Compile error when environment variable WEBKITLIBRARIESDIR is not defined.
[WebKit-https.git] / Source / WebCore / AVFoundationSupport.py
index 5c1bb2f..41a2159 100644 (file)
@@ -31,7 +31,7 @@ import os
 
 
 def lookFor(relativePath):
 
 
 def lookFor(relativePath):
-    return os.path.isfile(os.environ['WEBKIT_LIBRARIES'] + relativePath) or os.path.isfile(os.environ['WEBKITLIBRARIESDIR'] + relativePath)
+    return os.path.isfile(os.environ['WEBKIT_LIBRARIES'] + relativePath)
 
 print "/* Identifying AVFoundation Support */"
 if lookFor("/include/AVFoundationCF/AVCFBase.h"):
 
 print "/* Identifying AVFoundation Support */"
 if lookFor("/include/AVFoundationCF/AVCFBase.h"):