[llvm-commits] CVS: llvm/autoconf/m4/libtool.m4

Reid Spencer reid at x10sys.com
Tue Apr 10 17:34:00 PDT 2007



Changes in directory llvm/autoconf/m4:

libtool.m4 updated: 1.8 -> 1.9
---
Log message:

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.


---
Diffs of the changes:  (+1 -1)

 libtool.m4 |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/autoconf/m4/libtool.m4
diff -u llvm/autoconf/m4/libtool.m4:1.8 llvm/autoconf/m4/libtool.m4:1.9
--- llvm/autoconf/m4/libtool.m4:1.8	Wed Aug  9 00:38:51 2006
+++ llvm/autoconf/m4/libtool.m4	Tue Apr 10 19:33:43 2007
@@ -1365,7 +1365,7 @@
   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"`






More information about the llvm-commits mailing list