meson plugin builds to /usr/local by default
Bug #1719348 reported by
Alan Pope 🍺🐧🐱 🦄
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
The meson plugin appears to put builds by default in /usr/local. This doesn't seem like a sensible default, so most application developers will have to specify --prefix for /usr which seems more common and consistent.
Changed in snapcraft: | |
status: | New → Confirmed |
tags: | added: bitesize |
To post a comment you must log in.
You'll probably want to add a check in snapcraft/ plugins/ meson.py _meson_run like "if '--prefix' not in self.options. meson_parameter s" and then meson_command. extend( ) to add it only if it wasn't specified. And don't forget to add it to schema[ 'properties' ] at the top of the file.