aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2015-08-14 19:18:38 +0200
committerSimon Warta <[email protected]>2015-08-14 19:20:23 +0200
commit0582c4ad5f77aac9c3b392a4a3eba4df9ac890ce (patch)
tree315c67e2c0cdd28592bd009b8a64c02704caaa3b /src/build-data
parent8a335a0195a54d659ad6fac1061b4bdb7f8e7f11 (diff)
Add so_link_command for clang debug on darwin and default
Fixes #250
Diffstat (limited to 'src/build-data')
-rw-r--r--src/build-data/cc/clang.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/build-data/cc/clang.txt b/src/build-data/cc/clang.txt
index d2d2f9928..8b09831d6 100644
--- a/src/build-data/cc/clang.txt
+++ b/src/build-data/cc/clang.txt
@@ -26,10 +26,12 @@ visibility_attribute '__attribute__((visibility("default")))'
makefile_style gmake
<so_link_commands>
-# The default works for GNU ld and several other Unix linkers
-default -> "$(CXX) -shared -fPIC -Wl,-soname,$(SONAME)"
+darwin -> "$(CXX) -dynamiclib -fPIC -install_name $(LIBDIR)/$(SONAME)"
+darwin-debug -> "$(CXX) -dynamiclib -fPIC -install_name $(LIBDIR)/$(SONAME)"
-darwin -> "$(CXX) -dynamiclib -fPIC -install_name $(LIBDIR)/$(SONAME)"
+# The default works for GNU ld and several other Unix linkers
+default -> "$(CXX) -shared -fPIC -Wl,-soname,$(SONAME)"
+default-debug -> "$(CXX) -shared -fPIC -Wl,-soname,$(SONAME)"
</so_link_commands>
<binary_link_commands>