diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-04-11 00:33:43 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-04-11 00:33:43 +0000 |
commit | 5f6ee131b1fffb4de1626b29c76ce245b2f35f5d (patch) | |
tree | b1b6b329b86be2a56382fb5fa37e93645fb46b0e /llvm/autoconf/m4 | |
parent | 28d3e72a07412385d478dd46c1e55eb0b7a6f702 (diff) | |
download | bcm5719-llvm-5f6ee131b1fffb4de1626b29c76ce245b2f35f5d.tar.gz bcm5719-llvm-5f6ee131b1fffb4de1626b29c76ce245b2f35f5d.zip |
Hack the shared library extension for dylib. The existing code just looks
plain wrong since $module was never defined so we always get .so which is
broken on Darwin. Just force it to .dylib.
llvm-svn: 35873
Diffstat (limited to 'llvm/autoconf/m4')
-rw-r--r-- | llvm/autoconf/m4/libtool.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/autoconf/m4/libtool.m4 b/llvm/autoconf/m4/libtool.m4 index 420d43010f9..5de110bddba 100644 --- a/llvm/autoconf/m4/libtool.m4 +++ b/llvm/autoconf/m4/libtool.m4 @@ -1365,7 +1365,7 @@ darwin* | rhapsody*) soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' + shrext_cmds='.dylib' # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. if test "$GCC" = yes; then sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` |