diff options
author | lloyd <[email protected]> | 2012-10-30 15:48:08 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-10-30 15:48:08 +0000 |
commit | f12d2fbf88638d3a66f9fbb29fb335a2f223f05c (patch) | |
tree | 3992263e724b34c56ee919258765eca700fea724 /src | |
parent | 3b62f6729a930b81c3110962f31fb871a5691612 (diff) |
Use OS X specific linker flags
Diffstat (limited to 'src')
-rw-r--r-- | src/build-data/cc/clang.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/build-data/cc/clang.txt b/src/build-data/cc/clang.txt index 06f87f524..40bdb0a0b 100644 --- a/src/build-data/cc/clang.txt +++ b/src/build-data/cc/clang.txt @@ -27,6 +27,8 @@ visibility_attribute '__attribute__((visibility("default")))' <so_link_flags> # 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)" </so_link_flags> <mach_opt> |