build: when building wlroots subproject, link statically

This commit is contained in:
Dima Krasner 2021-11-08 20:17:50 +02:00 committed by Johan Malm
parent 04450b5e4d
commit 354161663e

View file

@ -40,7 +40,7 @@ add_project_arguments('-DLABWC_VERSION=@0@'.format(version), language: 'c')
wlroots_version = ['>=0.15.0', '<0.16.0']
wlroots_proj = subproject(
'wlroots',
default_options: ['examples=false'],
default_options: ['default_library=static', 'examples=false'],
required: false,
version: wlroots_version,
)