Skip to content

Commit fdfd827

Browse files
authored
Remove redundant 'rw' dependency from some extension modules
1 parent 07925db commit fdfd827

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/sage/graphs/graph_decompositions/meson.build

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,17 @@ extension_data = {
3131
}
3232

3333
foreach name, pyx : extension_data
34+
deps = [py_dep, cysignals, gmp]
35+
if name == 'rankwidth'
36+
deps += [rw]
37+
endif
3438
py.extension_module(
3539
name,
3640
sources: pyx,
3741
subdir: 'sage/graphs/graph_decompositions',
3842
install: true,
3943
include_directories: [inc_cpython, inc_data_structures],
40-
dependencies: [py_dep, cysignals, gmp, rw],
44+
dependencies: [py_dep, cysignals, gmp],
4145
)
4246
endforeach
4347

@@ -55,7 +59,7 @@ foreach name, pyx : extension_data_cpp
5559
install: true,
5660
override_options: ['cython_language=cpp'],
5761
include_directories: [inc_cpython, inc_data_structures],
58-
dependencies: [py_dep, cysignals, gmp, rw],
62+
dependencies: [py_dep, cysignals, gmp],
5963
)
6064
endforeach
6165

0 commit comments

Comments
 (0)