How to build a static lib properly?
ryuukk_
ryuukk.dev at gmail.com
Mon Mar 6 03:06:38 UTC 2023
On Monday, 6 March 2023 at 02:54:42 UTC, Ruby The Roobster wrote:
> On Monday, 6 March 2023 at 00:55:04 UTC, ryuukk_ wrote:
>> Hello,
>>
>> I am trying to build: https://github.com/dlang-community/DCD/
>> as a static lib
>>
>> [...]
>
> Try ```dub build --build-mode=allAtOnce```.
That didn't work
However, changing
https://github.com/dlang-community/DCD/blob/master/dsymbol/dub.json#L7 into "sourceLibrary" worked, along with: "--combined"
I maintain what i said, this is poorly designed and seems to be
also buggy too
More information about the Digitalmars-d-learn
mailing list