Skip to content

Commit

Permalink
libmariadb external debian/ubuntu package name change (#1085)
Browse files Browse the repository at this point in the history
* Update libmariadb Debian/Ubuntu package name
The Debian package was renamed into libmariadb-dev

* Keep both package names

---------

Co-authored-by: Alejandro R. Mosteo <[email protected]>
  • Loading branch information
stcarrez and mosteo authored Jun 4, 2024
1 parent db485df commit 1894252
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index/li/libmariadb/libmariadb-external.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ maintainers-logins = ["stcarrez"]
[[external]]
kind = "system"
[external.origin."case(distribution)"]
"debian|ubuntu" = ["libmariadbclient-dev"]
"debian|ubuntu" = ["libmariadb-dev", # newer Debian versions
"libmariadbclient-dev" # older Debian versions
]

# No mariadb library on msys2
[external.available.'case(os)']
Expand Down

1 comment on commit 1894252

@stcarrez
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! I didn't know there was such OR mechanism!

Please sign in to comment.