Skip to content

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 fontaine.fabrice@gmail.com

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 <fontaine.fabrice@gmail.com>
@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