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
|
if assigned(conf) then
|
||||||
setFrom(conf);
|
setFrom(conf);
|
||||||
pathPart := TrimRightSet(pathPart, ['/','\']);
|
pathPart := TrimRightSet(pathPart, ['/','\']);
|
||||||
if fBinKind = TProjectBinaryKind.staticlib then
|
{$IFDEF WINDOWS}
|
||||||
|
{$ELSE}
|
||||||
|
if fBinKind in [staticlib, sharedlib] then
|
||||||
namePart := 'lib' + namePart;
|
namePart := 'lib' + namePart;
|
||||||
|
{$ENDIF}
|
||||||
fOutputFileName:= pathPart + DirectorySeparator + namePart;
|
fOutputFileName:= pathPart + DirectorySeparator + namePart;
|
||||||
patchPlateformPath(fOutputFileName);
|
patchPlateformPath(fOutputFileName);
|
||||||
fOutputFileName := expandFilenameEx(fBasePath, fOutputFileName);
|
fOutputFileName := expandFilenameEx(fBasePath, fOutputFileName);
|
||||||
|
|
Loading…
Reference in New Issue