Skip to content

Commit 62b10c7

Browse files
author
Samat Gaynutdinov
committed
ref
1 parent 9a88115 commit 62b10c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/printers/NativeMakefilePrinter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ namespace printer {
413413
fs::path recompiledFile =
414414
Paths::getRecompiledFile(projectContext, linkUnitInfo->getOutput());
415415
if (isExecutable) {
416-
recompiledFile = Paths::isObjectFile(Paths::addExtension(recompiledFile, ".o")) ?
416+
recompiledFile = Paths::isObjectFile(recompiledFile) ?
417417
recompiledFile : Paths::addExtension(recompiledFile, ".o");
418418
} else if (Paths::isSharedLibraryFile(unitFile)) {
419419
recompiledFile = getSharedLibrary(linkUnitInfo->getOutput());

0 commit comments

Comments
 (0)