mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-07 11:26:02 +03:00
Add -link-defaultlib-shared and rename -link-debuglib (#2443)
... to -link-defaultlib-debug (with alias for backwards compatibility). -link-defaultlib-shared is to be used for switching between static and shared default libs to be linked with. It defaults to true when generating shared libraries (if shared druntime/Phobos are supported for the target, i.e., not for Windows). This is a benign breaking change!
This commit is contained in:
parent
3e543120fd
commit
1572c91fc0
11 changed files with 76 additions and 38 deletions
|
@ -1,4 +1,4 @@
|
|||
// RUN: %ldc -g -disable-fp-elim -link-debuglib %s -of=%t%exe
|
||||
// RUN: %ldc -g -disable-fp-elim -link-defaultlib-debug %s -of=%t%exe
|
||||
// RUN: %t%exe | FileCheck %s
|
||||
|
||||
void bar()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue