Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c518b4423ada4c5bb7510fe4b1a22e64d88d25b0
      
https://github.com/WebKit/WebKit/commit/c518b4423ada4c5bb7510fe4b1a22e64d88d25b0
  Author: Carlos Alberto Lopez Perez <[email protected]>
  Date:   2026-02-09 (Mon, 09 Feb 2026)

  Changed paths:
    M Tools/Scripts/cross-toolchain-helper
    M Tools/yocto/README.md

  Log Message:
  -----------
  [WPE][cross-toolchain-helper] Issues cross-building WebKit inside the SDK due 
to LD_LIBRARY_PATH
https://bugs.webkit.org/show_bug.cgi?id=307119

Reviewed by Nikolas Zimmermann.

Inside the SDK by default LD_LIBRARY_PATH is defined to the /jhbuild path. This 
seems to cause
problems with the cross-builds via cross-toolchain-helper, because it ends 
producing artifacts
for the native architecture instead for the cross-target one.

There are also a bunch of other env vars defined on the SDK by default (related 
to jhbuild)
that are potentially problematic for a cross-build environment.

This patch ensures that this the environment variables for the cross-target 
build are cleaned
automatically before starting the build.

* Tools/Scripts/cross-toolchain-helper:
(YoctoCrossBuilder._initialize_environment_for_target):
* Tools/yocto/README.md:

Canonical link: https://commits.webkit.org/307070@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to