Skip to content

Commit

Permalink
Update ldmd.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
ryuukk authored Jul 13, 2024
1 parent 6ddb3b1 commit 561cdaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion driver/ldmd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ void translateArgs(const llvm::SmallVectorImpl<const char *> &ldmdArgs,
else if (startsWith(p + 1, "visibility=")) {
ldcArgs.push_back(concat("-fvisibility=", p + 12));
}
else if (startsWith(p + 1, "static")) {
else if (strcmp(p + 1, "static") == 0) {
ldcArgs.push_back("-static");
}
/* -dllimport
Expand Down

0 comments on commit 561cdaa

Please sign in to comment.