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

haiku: fix devel lib install path #14209

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

X547
Copy link
Contributor

@X547 X547 commented Jan 30, 2025

Haiku have separate install paths for libraries used by runtime loader and compiler. Runtime loader library search path is $prefix/lib. Compiler search path (for ld -lXXX argumets) is $prefix/develop/lib.

Haiku have separate install paths for libraries used by runtime loader
and compiler. Runtime loader library search path is `$prefix/lib`.
Compiler search path (for `ld -lXXX` argumets) is `$prefix/develop/lib`.
@@ -913,6 +913,9 @@ def get_build_dir(self) -> str:

def get_import_lib_dir(self) -> str:
"Install dir for the import library (library used for linking)"
m = self.machines.host
if m.is_haiku():
return 'develop/lib'
Copy link
Member

Choose a reason for hiding this comment

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

On windows we know that we can just use the bindir for certain types of file, which is part of the user configuration too.

For Haiku, this is hardcoding a location that only seems to make sense if you know the default libdir hasn't been modified. It's totally opaque to GNU Directory Variables etc. This seems very confusing.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Should developLibDir option be introduced or what is preferred solution?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

pkgconfigDir too?

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.

3 participants