mirror of https://gitlab.com/basile.b/dexed.git
fix, dub project, lib prefix only on nix/osx
This commit is contained in:
parent
6d3e29a869
commit
66b77b5a05
|
@ -707,8 +707,11 @@ begin
|
|||
if assigned(conf) then
|
||||
setFrom(conf);
|
||||
pathPart := TrimRightSet(pathPart, ['/','\']);
|
||||
if fBinKind = TProjectBinaryKind.staticlib then
|
||||
{$IFDEF WINDOWS}
|
||||
{$ELSE}
|
||||
if fBinKind in [staticlib, sharedlib] then
|
||||
namePart := 'lib' + namePart;
|
||||
{$ENDIF}
|
||||
fOutputFileName:= pathPart + DirectorySeparator + namePart;
|
||||
patchPlateformPath(fOutputFileName);
|
||||
fOutputFileName := expandFilenameEx(fBasePath, fOutputFileName);
|
||||
|
|
Loading…
Reference in New Issue