Skip to content
  • Tim-Philipp Müller's avatar
    meson: make sure gsk/gdk generated headers exist for libgtk_dep users · f67a9d58
    Tim-Philipp Müller authored and Emmanuele Bassi's avatar Emmanuele Bassi committed
    Add back dependencies on libgdk_dep and libsk_dep which are declared
    dependencies. We removed this before because these declarations had
    link_with: lines that dragged in the static libgdk.a and libgsk.a libs
    which are linked into libgtk-4.so anyway and thus shouldn't be used
    when linking internal exes/tools against libgtk-4. Remove the static
    libs from the declared dependencies and have libgtk link those in
    explicitly, so that the declared deps now just provide all the built
    dependencies and include dirs and such for declared libgtk_dep users
    such as the internal exes/tools, which want all the generated gsk/gdk/gtk
    headers to exist before attempting to compile anything against the
    gtk+ headers.
    f67a9d58