• Show log

    Commit

  • Hash : 18303c92
    Author : David Gow
    Date : 2021-07-28T18:06:34

    Wayland: Fix building with --disable-wayland-shared with libdecor.
    
    When wayland is not dynamically loaded (--enable-wayland-shared=no)
    libdecor.h is not included unless SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC
    is set, so it fails to build.  We can't simply move the libdecor.h
    include above the #ifdef SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC block, as
    libdecor.h itself #includes wayland headers we need to replace with
    #defines. Instead, duplicate the #include.
    
    Fixes https://github.com/libsdl-org/SDL/issues/4543
    
    Note that this doesn't fix any of the underlying issues of libdecor
    being treated as part of wayland, it just fixes the build. A better
    solution would probably be to decouple the wayland dynamic loading
    from the libdecor dynamic loading completely, though that is a lot
    more work...
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/SDL.git
    Git SSH git@git.kmx.io:kc3-lang/SDL.git
    Public access ? public
    Description

    Fork of https://github.com/libsdl-org/SDL

    Users
    thodg_m kc3_lang_org thodg_w thodg_l www_kmx_io thodg
    Tags