Skip to content
  • Matthew Waters's avatar
    meson/gl: use separate deps for gl and glx · 32273c2c
    Matthew Waters authored
    e.g. passing with_gl_api=gles2 would still build the glx code but not be
    linking against the libGL library which is where the glX* functions are
    located and would result in a linker error.
    
    Solved by checking for the libGL library if either opengl or glx may be
    needed and then disabling the corresponding deps as requested.
    32273c2c