|
|
|
@ -3,7 +3,7 @@ project(
|
|
|
|
|
'c',
|
|
|
|
|
version: '0.0.1',
|
|
|
|
|
license: 'MIT',
|
|
|
|
|
meson_version: '>=0.47.1',
|
|
|
|
|
meson_version: '>=0.48.0',
|
|
|
|
|
default_options: [
|
|
|
|
|
'c_std=c11',
|
|
|
|
|
'warning_level=2',
|
|
|
|
@ -111,6 +111,12 @@ wlr_deps += [
|
|
|
|
|
math,
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
if host_machine.system() == 'freebsd'
|
|
|
|
|
override_options = ['b_lundef=false']
|
|
|
|
|
else
|
|
|
|
|
override_options = []
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
symbols_file = 'wlroots.syms'
|
|
|
|
|
symbols_flag = '-Wl,--version-script,@0@/@1@'.format(meson.current_source_dir(), symbols_file)
|
|
|
|
|
lib_wlr = library(
|
|
|
|
@ -122,6 +128,7 @@ lib_wlr = library(
|
|
|
|
|
install: true,
|
|
|
|
|
link_args : symbols_flag,
|
|
|
|
|
link_depends: symbols_file,
|
|
|
|
|
override_options: override_options,
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
wlroots = declare_dependency(
|
|
|
|
|