Skip to content

Commit

Permalink
meson: Fix mypaintlib name
Browse files Browse the repository at this point in the history
Previously mypaint couldn't find mypaint.so because of its suffix

Signed-off-by: Aesara <[email protected]>
  • Loading branch information
AesaraB committed Sep 20, 2024
1 parent b8e761b commit d97eadb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ endif

# Build machine info
host_os = host_machine.system()
host_cpu_family = host_machine.cpu_family()

## Install directories
project_subdir = '/' + meson.project_name().to_lower()
Expand Down
2 changes: 1 addition & 1 deletion src/platlib/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ mypaintlib_sources = [
shared_library(
# The old build system produced "_mypaintlib.cpython-311-x86_64-linux-gnu.so". While we can try to match it, this is
# close enough
['mypaintlib' + '.' + host_cpu_family + '-' + host_os],
'mypaintlib',
name_prefix: '_',
sources: mypaintlib_sources,
cpp_args: mypaintlib_compile_args,
Expand Down

0 comments on commit d97eadb

Please sign in to comment.