diff options
author | Simon Warta <[email protected]> | 2015-08-14 19:18:38 +0200 |
---|---|---|
committer | Simon Warta <[email protected]> | 2015-08-14 19:20:23 +0200 |
commit | 0582c4ad5f77aac9c3b392a4a3eba4df9ac890ce (patch) | |
tree | 315c67e2c0cdd28592bd009b8a64c02704caaa3b /src | |
parent | 8a335a0195a54d659ad6fac1061b4bdb7f8e7f11 (diff) |
Add so_link_command for clang debug on darwin and default
Fixes #250
Diffstat (limited to 'src')
-rw-r--r-- | src/build-data/cc/clang.txt | 8 |
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> |