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

When passing a .def file to the dmd linker with lflags, don't prepend "-L" #399

Closed
wants to merge 1 commit into from
Closed

Conversation

ghost
Copy link

@ghost ghost commented Aug 16, 2014

No description provided.

@s-ludwig
Copy link
Member

.def files should actually be passed as "sourceFiles" to DMD, they will then automatically be passed to the linker stage if necessary (see b3b96f0). "lflags" is only intended for flags passed to the linker, but .def files are actually passed to the compiler, which in turn indirectly passes it to the linker.

@ghost
Copy link
Author

ghost commented Aug 17, 2014

That's not the behavior I observe in the application, but I'll look into that.

@s-ludwig
Copy link
Member

The commit has just been made relatively recently, I'm not sure in which version it was introduced, but definitely not yet in the last stable version (0.9.21).

@s-ludwig
Copy link
Member

s-ludwig commented Oct 7, 2014

Should work with 0.9.22. Can you confirm?

@MartinNowak
Copy link
Member

Can this be closed?

@ghost
Copy link
Author

ghost commented Dec 5, 2014

Most probably.

On 12/5/14, Martin Nowak notifications@github.com wrote:

Can this be closed?


Reply to this email directly or view it on GitHub:
#399 (comment)

@ghost ghost closed this Dec 6, 2014
This pull request was closed.
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