[pkg-d-commits] [ldc] 126/149: Darwin: Change default shared-lib extension from .so to .dylib

Matthias Klumpp mak at moszumanska.debian.org
Sun Apr 23 22:37:05 UTC 2017


This is an automated email from the git hooks/post-receive script.

mak pushed a commit to annotated tag v1.2.0
in repository ldc.

commit 1c175b76de97b7b55c4fd088a2f284b24ca930b1
Author: Martin <noone at nowhere.com>
Date:   Sat Mar 4 17:10:55 2017 +0100

    Darwin: Change default shared-lib extension from .so to .dylib
---
 driver/main.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/driver/main.cpp b/driver/main.cpp
index 75cb683..3c3e447 100644
--- a/driver/main.cpp
+++ b/driver/main.cpp
@@ -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";
   }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-d/ldc.git



More information about the pkg-d-commits mailing list