Install prefix defaults to /app when doing a host system build
Here's what I did:
- I created a folder with a meson.build and a single .cpp file
- I populated the meson.build like this
project('sb-ed', 'cpp')
gtkdep = dependency('gtkmm-3.0')
executable('sb-ed', 'src/main.cpp', dependencies: gtkdep, install: true)
- I created a new Builder project for the folder
- Install prefix was populated to /app
This is using the latest Flatpak nightly. The symptom is that I get prompted for my sudo password every time I try to run, which created a /app/bin
folder in my root filesystem.
Additionally: Changing the install prefix didn't help
If I change the install prefix to /tmp/project-build for example it doesn't seem to have any affect at all - it continues to try to install to /app/bin