Skip to content

Commit 916f9ef

Browse files
clopeznikolaszimmermann
authored andcommitted
Deprecate environment variable WEBKIT_BUILD_USE_SYSTEM_LIBRARIES.
This is not longer needed since https://commits.webkit.org/309557@main The env var used by the WebKit tooling to identify if is running inside the SDK is now WEBKIT_CONTAINER_SDK. However, to allow building older versions of WebKit with the SDK, instead of just removing the variable now, add a comment about the deprecation status with the idea of removing it on the future.
1 parent cc44cf2 commit 916f9ef

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

images/wkdev_sdk/Containerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,16 @@ ARG APT_AUTOREMOVE="apt-get --assume-yes autoremove"
2323
# Disable prompt during package configuration
2424
ENV DEBIAN_FRONTEND noninteractive
2525

26-
# Used by the WebKit tooling to detect if is running inside the SDK
26+
# Used by the WebKit tooling to detect if is running inside the SDK.
2727
ENV WEBKIT_CONTAINER_SDK "1"
2828

2929
# Enable debugging in WebKit's sandbox.
3030
ENV WEBKIT_ENABLE_DEBUG_PERMISSIONS_IN_SANDBOX "1"
3131

32-
# Used in webkitdirs.pm to prefer building against system libraries instead of the Flatpak SDK.
32+
# This env var got deprecated in 2026-04 at 309557@main, so remove it when building
33+
# WebKit older than 309557@main with the last version of the SDK is not longer a need.
34+
# It was used in webkitdirs.pm to prefer building against system libraries instead of the Flatpak SDK.
35+
# More details: https://github.com/Igalia/webkit-container-sdk/pull/222
3336
ENV WEBKIT_BUILD_USE_SYSTEM_LIBRARIES "1"
3437

3538
# Delete the default ubuntu user which has a UID of 1000.

0 commit comments

Comments
 (0)