Skip to content

Commit

Permalink
meson: Build libwfb.so
Browse files Browse the repository at this point in the history
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Adam Jackson <ajax@redhat.com>
  • Loading branch information
nwnk committed Apr 27, 2017
1 parent 1597297 commit 6413a87
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
11 changes: 11 additions & 0 deletions fb/meson.build
Expand Up @@ -34,3 +34,14 @@ libxserver_fb = static_library('libxserver_fb',
dependencies: common_dep,
pic: true,
)

wfb_args = '-DFB_ACCESS_WRAPPER'

libxserver_wfb = static_library('libxserver_wfb',
srcs_fb,
c_args: wfb_args,
include_directories: inc,
dependencies: common_dep,
pic: true,
build_by_default: false,
)
12 changes: 12 additions & 0 deletions hw/xfree86/dixmods/meson.build
Expand Up @@ -24,6 +24,18 @@ shared_module(
install_dir: module_dir,
)

shared_module(
'wfb',
'fbmodule.c',

include_directories: [inc, xorg_inc],
c_args: [ xorg_c_args, wfb_args ],
dependencies: common_dep,
objects: libxserver_wfb.extract_all_objects(),

install: true,
install_dir: module_dir,
)
shared_module(
'shadow',
'shmodule.c',
Expand Down

0 comments on commit 6413a87

Please sign in to comment.