Skip to content

Commit d3cdc0e

Browse files
1acekdj0c
authored andcommitted
meson: include tsm's deps in libtsm_dep
This allows kmscon to use it as a subproject fallback when the distro packages are not recent enough.
1 parent ab958d0 commit d3cdc0e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/tsm/meson.build

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,12 @@ if not cc.links(code, args: link_flags, name: '-Wl,--version-script=...')
2424
endif
2525
endif
2626

27+
deps = [wcwidth_dep, shl_dep, xkbcommon_dep]
28+
2729
libtsm = shared_library(
2830
'tsm',
2931
libtsm_srcs,
30-
dependencies: [wcwidth_dep, shl_dep, xkbcommon_dep],
32+
dependencies: deps,
3133
install: true,
3234
version: version,
3335
soversion: major,
@@ -37,6 +39,7 @@ libtsm = shared_library(
3739
libtsm_dep = declare_dependency(
3840
include_directories: '.',
3941
link_with: libtsm,
42+
dependencies: deps,
4043
sources: libtsm_srcs,
4144
)
4245

0 commit comments

Comments
 (0)