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

Fix correct placement of libraries in the linker command line. #1

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

Conversation

udif
Copy link

@udif udif commented Mar 1, 2022

The original Makefile used LDFLAGS to specify link linbaries.
This caused the libraries to be specified BEFORE the object files referencing them, causing link failures.
By using LDLIBS, all the libraries are specified AFTER the object files, correcting the issue.

Tested on Ubuntu 20.04 LTS

@shalnoff
Copy link

true

@Kuchiriel
Copy link

Please, accept this PR

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