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

Build of uae4arm-rpi fails when -lmpg123 is not in /usr/lib #69

Open
heitbaum opened this issue Apr 30, 2023 · 1 comment
Open

Build of uae4arm-rpi fails when -lmpg123 is not in /usr/lib #69

heitbaum opened this issue Apr 30, 2023 · 1 comment

Comments

@heitbaum
Copy link

heitbaum commented Apr 30, 2023

In LibreELEC libraries are not always made available in the build /usr/lib directory, if they are not to be shared across all of the environment. The packages “are” expected to call pkgconfig to get the library locations. To workaround this, we have added a sed inline script to update the LDFLAGS := to include the library’s path.

If the package could be updated to use pkgconfig or alternatively allow LDFLAGS or a -D to pass the directory in.

Ref:

@Chips-fr
Copy link
Owner

I think i can change
LDFLAGS := -lz -lpthread -lFLAC -lmpg123 -ldl
to
LDFLAGS += -lz -lpthread -lFLAC -lmpg123 -ldl

For the unix platform so that LDFLAGS could be inherit.

For rpi target the makefile already inherit LDFLAGS.

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

No branches or pull requests

2 participants