mirror of https://gitlab.com/basile.b/dexed.git
fix for the linux version, related to #28
gcc linker does not work like Digital Mars's one, read more at http://forum.dlang.org/post/xunqvzfxyozznlmniwgg@forum.dlang.org
This commit is contained in:
parent
d66d0306e0
commit
ebd7e3fda4
|
|
@ -370,9 +370,14 @@ begin
|
|||
libAliasesPtr := fLibAliases;
|
||||
if (fLibAliases.Count > 0) and (fLibAliases.Strings[0] = '*') then
|
||||
libAliasesPtr := nil;
|
||||
|
||||
{$IFDEF WINDOWS}
|
||||
// only link lib file if executable/shared lib
|
||||
// OS switch: read more @ http://forum.dlang.org/post/ooekdkwrefposmchekrp@forum.dlang.org
|
||||
if currentConfiguration.outputOptions.binaryKind in [executable, sharedlib] then
|
||||
{$ENDIF}
|
||||
LibMan.getLibFiles(libAliasesPtr, aList);
|
||||
|
||||
// but always adds -I<path>
|
||||
LibMan.getLibSources(libAliasesPtr, aList);
|
||||
// config
|
||||
|
|
|
|||
Loading…
Reference in New Issue