[Webkit-unassigned] [Bug 143828] [WinCairo] Compile error when environment variable WEBKITLIBRARIESDIR is not defined.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 16 09:12:13 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=143828

--- Comment #8 from Brent Fulgham <bfulgham at webkit.org> ---
Comment on attachment 250920
  --> https://bugs.webkit.org/attachment.cgi?id=250920
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=250920&action=review

>> Source/WebCore/AVFoundationSupport.py:34
>> +    return os.path.isfile(os.environ.get('WEBKIT_LIBRARIES', '') + relativePath) or os.path.isfile(os.environ.get('WEBKITLIBRARIESDIR', '') + relativePath)
> 
> Oh! WEBKITLIBRARIESDIR is old stuff we don't use anymore (it was replaced by WEBKIT_LIBRARIES). Let's just get rid of the "WEBKITLIBRARIESDIR" part of this entirely. We don't need it, and we certainly do not want to re-introduce this old variable.

... it might be good to let this throw if WEBKIT_LIBRARIES doesn't exist, or perhaps generate a meaningful error here. The build (on Windows without CMake) *WILL* fail if WEBKIT_LIBRARIES is not defined, perhaps in confusing and mysterious ways. It would help developers identify the problem quickly if they could see this error that clearly shows the missing environment variable.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150416/2dbbfd0e/attachment.html>


More information about the webkit-unassigned mailing list