[Webkit-unassigned] [Bug 152183] [GTK][Mac] gobject-introspection uses wrong shared-library path

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Mar 20 12:24:20 PDT 2016


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

--- Comment #15 from Jeremy Huddleston Sequoia <jeremyhu at apple.com> ---
Note that if you're on El Capitan, the issue might be happening because g-ir-scanner has a shebang of '#!/usr/bin/env /path/to/python'.  The use of usr/bin/env with SIP causes DYLD_LIBRRY_PATH to NOT get passed down in the environment.

We addressed that in MacPorts by fixing the shebang in gobject-introspection scripts to be "#!/path/to/macports/prefix/bin/python".  You should do something similar, or it can also be worked around in the webkit-gtk build system (but of course other projects will still fail) doing:

-        ${INTROSPECTION_SCANNER}
+        ${PYTHON_EXECUTABLE} ${INTROSPECTION_SCANNER}

in the appropriate places in Source/WebKit2/PlatformGTK.cmake

-- 
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/20160320/68c09893/attachment.html>


More information about the webkit-unassigned mailing list