Skip to content

webos: require dlopen and dynamically loaded Wayland - #13

Merged
mariotaku merged 1 commit into
webOS-3.4.xfrom
webos/require-dlopen
Sep 24, 2026
Merged

mariotaku merged 1 commit into
webOS-3.4.xfrom
webos/require-dlopen

Conversation

@mariotaku

Copy link
Copy Markdown
Member

libpbnjson_c, libhelpers, the Wayland ABI fix library and Wayland itself are all loaded through SDL_LoadObject(), and the fallbacks for the older libwayland on webOS firmware only exist in SDL_waylanddyn.c. A configure without dlopen, or with SDL_WAYLAND_SHARED=OFF, still succeeded.

Fix: fail configure on webOS when dlopen is missing, or when Wayland ends up linked directly. Same style as the libudev requirement.

Verified with the webOS toolchain (CI config):

  • default flags: configures and builds, no warnings
  • -DHAVE_DLOPEN_IN_LIBC=0 -DHAVE_DLOPEN_IN_LIBDL=0: fails with "webOS requires dlopen, but dlopen was not found."
  • -DSDL_WAYLAND_SHARED=OFF: fails with "webOS requires Wayland to be loaded dynamically, but this build links Wayland directly."

🤖 Generated with Claude Code

libpbnjson_c, libhelpers, the Wayland ABI fix library and Wayland are
all loaded through SDL_LoadObject(), and the fallbacks for the older
libwayland on webOS firmware only exist in the dynamic Wayland loader.
Fail configure without dlopen or with Wayland linked directly.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mariotaku
mariotaku merged commit 649b462 into webOS-3.4.x Sep 24, 2026
78 of 92 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant