Skip to content

Commit 47a5173

Browse files
tobiasdiezdimpase
authored andcommitted
Meson: build groups even without gap
`group.pyx` compiles fine also without gap installed.
1 parent 1be0a58 commit 47a5173

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/sage/groups/meson.build

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,17 @@ extension_data = {
3838
}
3939

4040
foreach name, pyx : extension_data
41+
deps = [py_dep, gmp]
42+
if name == 'libgap_wrapper'
43+
deps += [gap]
44+
endif
4145
py.extension_module(
4246
name,
4347
sources: pyx,
4448
subdir: 'sage/groups',
4549
install: true,
4650
include_directories: [inc_cpython],
47-
dependencies: [py_dep, gmp, gap],
51+
dependencies: deps,
4852
)
4953
endforeach
5054

0 commit comments

Comments
 (0)