Skip to content

Commit

Permalink
Darwin: Change default shared-lib extension from .so to .dylib
Browse files Browse the repository at this point in the history
  • Loading branch information
kinke committed Mar 8, 2017
1 parent 647e3b6 commit 1c175b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion driver/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1028,7 +1028,7 @@ int cppmain(int argc, char **argv) {
global.dll_ext = "dll";
global.lib_ext = (global.params.mscoff ? "lib" : "a");
} else {
global.dll_ext = "so";
global.dll_ext = global.params.targetTriple->isOSDarwin() ? "dylib" : "so";
global.lib_ext = "a";
}

Expand Down

0 comments on commit 1c175b7

Please sign in to comment.