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

modules: fix cross-compilation #76

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

Conversation

ffontaine
Copy link

Do not add -L$(libdir) to AM_LDFLAGS

[Retrieved from:
https://git.buildroot.net/buildroot/tree/package/libfm/0001-modules-fix-cross-compilation.patch]
Signed-off-by: Fabrice Fontaine [email protected]

@LStranger
Copy link
Member

This change may cause problems with non-standard $(libdir), see 362d192, or you think it was an old issue of libtool which is fixed nowadays?

@ffontaine
Copy link
Author

I'll try to update the PR to drop -L$(libdir) only when cross-compiling to avoid this issue

@LStranger
Copy link
Member

I believe you should simply add appropriate --libdir to your configure call for your cross-compiling recipe, the same way as it is usually done for cross-compiling everywhere.

@LStranger
Copy link
Member

Although it might be also possible that libtool issue is fixed, as I said, thus that line might be removed as you proposed.
Let do it for 1.4.0 and see if anyone will report bugs.

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