-
-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
install target installs libportal #1546
Comments
This is a bit ugly because with the installed tests we do have to install them. On the bright side, packagers don't use the subproject. |
maybe installed tests can only be run with a system libportal... I haven't found how to tell the subproject to not install though. |
Setting the default options for the subproject to build a static-only library would probably be a good start? |
meson install has
It's also not possible to mark the subproject itself with something like Given that I want to remove the C tests which depend on libportal, I'm inclined to leave it to someone else to decide what to do. |
If we are using the submodule for libportal, and the tests are dynamically linked to libportal, isn't that going to mean that any "as-installed" tests have a missing runtime dependency and cannot run successfully? If I'm right about that, then using
We could perhaps mitigate that by making its default options include |
libportal is just for the tests, am I correct?
Perhaps the build system should just error out in the bad situation:
|
This should no longer be the case now that the tests don't use libportal. |
Operating System
Fedora 41
XDG Desktop Portal version
Other
XDG Desktop Portal version (Other)
1.19.1
Desktop Environment
GNOME
Desktop Environment (Other)
No response
Expected Behavior
Doesn't install libportal
Current Behavior
Installs libportal
Steps to Reproduce
Anything else we should know?
libportal is only a dependency for tests. It should never been installed.
The text was updated successfully, but these errors were encountered: