From 28f9e86b84f09238d1208936c08175033e4ce34f Mon Sep 17 00:00:00 2001 From: Basile Burg Date: Sun, 25 Oct 2015 22:03:28 +0100 Subject: [PATCH] fix, dubproject, output binary name missed the lib prefix when output binary kind was staticlib --- src/ce_dubproject.pas | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ce_dubproject.pas b/src/ce_dubproject.pas index be209b43..37b0ac21 100644 --- a/src/ce_dubproject.pas +++ b/src/ce_dubproject.pas @@ -707,6 +707,8 @@ begin if assigned(conf) then setFrom(conf); pathPart := TrimRightSet(pathPart, ['/','\']); + if fBinKind = TProjectBinaryKind.staticlib then + namePart := 'lib' + namePart; fOutputFileName:= pathPart + DirectorySeparator + namePart; patchPlateformPath(fOutputFileName); fOutputFileName := expandFilenameEx(fBasePath, fOutputFileName);