-
-
Notifications
You must be signed in to change notification settings - Fork 260
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
Allow the user to overwrite a global -link-defaultlib-shared
flag
#2646
Comments
Would probably indeed be useful for distros shipping with a default |
Great! Just missing documentation then?
Maybe the boolean flags could be marked with e.g.
(e.g. BTW is there any reason why |
It's just a default LLVM Boolean commandline option with default help formatting, which doesn't mark the Boolean options in a special way.
I must confess I probably never invoked ldc2 without args and so will have to check its output. ;) |
|
Hello, What is the recommended way to say you want a static defaultlib? is it |
The latter, assuming you don't want to enforce static C libs too. |
I hadn't thought about that. Indeed what we probably need is dynamic C libs, static D runtime (on POSIX). |
Now that OS packers are starting to add the new
-link-defaultlib-shared
(see #2443) to their globalldc.conf
file, this option breaks release build scripts somehow.What do you think about:
-disable-link-defaultlib-shared
? (the last seen option would take precedence)-static
overwrite the global-link-defaultlib-shared
preference? At the moment one just gets an error:The text was updated successfully, but these errors were encountered: