-
-
Notifications
You must be signed in to change notification settings - Fork 261
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
ldc2 does not respect -of on Windows #1084
Comments
|
I'm completely OK for fixing this in DUB, but ldc takes a .a as -of parameter and silently renames it to .lib |
If DUB pass a .lib path, will another .lib be appended? |
Ok, I got it. This is a misunderstanding of dmd behaviour. I'll fix it. |
This is the same behavior as dmd. Fixes issue ldc-developers#1084.
The issue is fixed in master now. For the naming I have created a dub issue: dlang/dub#687 |
Easy to see with a DUB project with one static dependency.
For example: https://github.com/p0nce/scheme-d/tree/master/examples/repl
OS: Win64
Compiler: Version: LDC 0.16.0-alpha3
To reproduce:
$ dub build --build=debug --arch=x86_64 --compiler=ldc2 --force -v
Here this produces the command:
However the file produced is named
libscheme-d.a.lib
and notlibscheme-d.a
so DUB fails next.The text was updated successfully, but these errors were encountered: