Skip to content

Commit

Permalink
Fix build of meataxe extension with meson
Browse files Browse the repository at this point in the history
meataxe is not a library, the library is called mtx and is already searched for
  • Loading branch information
antonio-rojas committed Nov 15, 2024
1 parent 209ae4c commit af3b81b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,6 @@ singular = dependency('Singular')
maxima = find_program('maxima', required: true)
# Cannot be found via pkg-config
ntl = cc.find_library('ntl')
# Cannot be found via pkg-config
meataxe = cc.find_library('meataxe', required: false, disabler: true)

# Meson currently ignores include_directories for Cython modules, so we
# have to add them manually.
Expand Down
2 changes: 1 addition & 1 deletion src/sage/libs/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ foreach name, pyx : extension_data
if name == 'sirocco'
deps += [sirocco]
elif name == 'meataxe'
deps += [mtx, meataxe]
deps += [mtx]
endif

py.extension_module(
Expand Down
2 changes: 1 addition & 1 deletion src/sage/matrix/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ foreach name, pyx : extension_data
zlib,
]
if name == 'matrix_gfpn_dense'
dependencies += [mtx, meataxe]
dependencies += [mtx]
endif

py.extension_module(
Expand Down

0 comments on commit af3b81b

Please sign in to comment.