Skip to content
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

Default libdir for app is /app/lib #587

Closed
wants to merge 1 commit into from
Closed

Conversation

nanonyme
Copy link
Contributor

flatpak-builder promises that libdir is /app/lib for apps but this is currently not really the case. Instead, flatpak-builder relies on patching of libdir on Meson and cmake and prefix being set to /app. Since it's not really up to runtime to select what libdir for apps is (this is defined in flatpak instead), instead add a default here.

@nanonyme nanonyme marked this pull request as draft February 24, 2024 18:22
@@ -1075,6 +1075,8 @@ builder_options_get_libdir (BuilderOptions *self, BuilderContext *context)

if (builder_context_get_build_runtime (context))
return get_sdk_flags (self, context, builder_sdk_config_get_libdir);
if (!builder_context_get_build_extension (context))
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd make it an else if just in case, but it's fine since we return on both anyway

@nanonyme
Copy link
Contributor Author

I will close this for further work.

@nanonyme nanonyme closed this Feb 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants