LDC 1.1.0-beta6

kinke via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Fri Dec 16 01:38:49 PST 2016


On Thursday, 15 December 2016 at 22:40:59 UTC, Soulsbane wrote:
> On Thursday, 15 December 2016 at 09:03:33 UTC, Mike Parker 
> wrote:
>> On Thursday, 15 December 2016 at 09:02:39 UTC, Mike Parker 
>> wrote:
>>> On Thursday, 15 December 2016 at 06:04:05 UTC, Soulsbane 
>>> wrote:
>>>
>>>> Ok, for some reason dmd worked just fine without having 
>>>> liblua5.1 in my dub.sdl and has for months. Anyway, fixed 
>>>> now though. Thanks.
>>>
>>> That's because of this line in LuaD's dub.json:
>>>
>>> "libs-windows-x86_64-dmd": ["lua5.1"],
>>
>> And this one:
>>
>> "sourceFiles-windows-x86-dmd": ["extlib/lua5.1.lib"],
>
> yeah, I saw that but I'm on Linux. Anyway all is good. Thanks.

So if the following lines in dub.json

```
"sourceFiles-linux-x86": ["extlib/x86_32-linux-gnu/liblua.a"],
"sourceFiles-linux-x86_64": ["extlib/x86_64-linux-gnu/liblua.a"],
```

don't work with LDC but do with DMD, please file a DUB issue 
about it, in order to save others from this annoyance.


More information about the digitalmars-d-ldc mailing list