xserver-multidpi/hw/xfree86/shadowfb/meson.build
Jon Turney a10b4fcdc0 meson: Fix linkage of loadable modules for PE/COFF
For the loadable modules it makes sense to build for PE/COFF targets, link
those loadable modules with the import library for the Xorg executable, so
that symbols provided by the executable can be satisfied at link time (as
required by PE/COFF).

Since this uses the syntax of using the returned build target object from an
executable() with an implib: kwarg to link_with:, introduced in meson 0.42
and a syntax error with older meson, also update the minimum meson version
which we require in project() to that.

Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
2017-10-12 15:22:04 -04:00

12 lines
282 B
Meson

shared_module('shadowfb',
[ 'shadowfb.c', 'sfbmodule.c'],
include_directories: [ inc, xorg_inc ],
dependencies: common_dep,
c_args: xorg_c_args,
install: true,
install_dir: module_dir,
link_with: e,
)
install_data('shadowfb.h', install_dir: xorgsdkdir)