diff options
author | Emil Velikov <[email protected]> | 2017-10-24 17:14:20 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-11-08 14:40:12 +0000 |
commit | c7b65c330fd6ede0c82d3e2f2907e5a3ae864788 (patch) | |
tree | a563f7802c55b05a5ab6efe1528ad0e29e959300 /src/gbm/meson.build | |
parent | ba414dba4f1bf354cc9494fd76e3e28b489f13a1 (diff) |
wayland-drm: static inline wayland_drm_buffer_get
The function is effectively a direct function call into
libwayland-server.so.
Thus GBM no longer depends on the wayland-drm static library, making the
build more straight forward. And the resulting binary is a bit smaller.
Note: we need to move struct wayland_drm_callbacks further up,
otherwise we'll get an error since the type is incomplete.
v2: Rebase, beef-up commit message, update meson, move struct
wayland_drm_callbacks.
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Daniel Stone <[email protected]> (v1)
Reviewed-by: Eric Engestrom <[email protected]> # meson bit only
Acked-by: Eric Engestrom <[email protected]> # for the rest
Reviewed-by: Dylan Baker <[email protected]> # meson
Diffstat (limited to 'src/gbm/meson.build')
-rw-r--r-- | src/gbm/meson.build | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gbm/meson.build b/src/gbm/meson.build index f25f3172027..4b550e06f27 100644 --- a/src/gbm/meson.build +++ b/src/gbm/meson.build @@ -29,7 +29,6 @@ files_gbm = files( ) deps_gbm = [] args_gbm = [] -links_gbm = [] deps_gbm = [] incs_gbm = [ include_directories('main'), inc_include, inc_src, inc_loader, @@ -43,7 +42,6 @@ if with_dri2 endif if with_platform_wayland deps_gbm += dep_wayland_server - links_gbm += libwayland_drm incs_gbm += inc_wayland_drm endif @@ -55,7 +53,7 @@ libgbm = shared_library( include_directories : incs_gbm, c_args : [c_vis_args, args_gbm], link_args : [ld_args_gc_sections], - link_with : [links_gbm, libloader, libmesa_util, libxmlconfig], + link_with : [libloader, libmesa_util, libxmlconfig], dependencies : [deps_gbm, dep_dl], version : '1.0.0', install : true, |