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 compiler flag order on visual studio #6735

Closed
wants to merge 1 commit into from
Closed

fix compiler flag order on visual studio #6735

wants to merge 1 commit into from

Conversation

ericLemanissier
Copy link
Contributor

currently, all "-LIBPATH:..." arguments are treated as gcc's -L, so they are prependded
they end up before the '/link' argument, so they are ignored

currently, all "-LIBPATH:..." arguments are treated as gcc's -L, so they are prependded
they end up before the '/link' argument, so they are ignored
@nirbheek
Copy link
Member

nirbheek commented Mar 5, 2020

Unit test? This will break very easily otherwise :)

@ericLemanissier
Copy link
Contributor Author

Unfortunately it's not the correct solution, it breaks non C compilers which don't have the linker_to_compiler_args method.

@ericLemanissier
Copy link
Contributor Author

this problem seems solved in recent meson version

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