]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltconfig.in (osf3*, osf4*, deplibs_check_method): pass_all does
authorAlexandre Oliva <oliva@dcc.unicamp.br>
Sun, 14 Mar 1999 00:40:03 +0000 (00:40 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Sun, 14 Mar 1999 00:40:03 +0000 (00:40 +0000)
not really work; use file_magic instead.
(osf3*, osf4*): customize sys_lib_[dl]search_path_spec

ChangeLog
ltconfig.in

index daf45e51d4bdb3a8ba11ca582a5a5058831b8bf9..f2051a85538ded074b6f736b8e33d1f7c7cb8cdb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 1999-03-13  Alexandre Oliva  <oliva@dcc.unicamp.br>
 
+       * ltconfig.in (osf3*, osf4*, deplibs_check_method): pass_all does
+       not really work; use file_magic instead.
+       (osf3*, osf4*): customize sys_lib_[dl]search_path_spec 
+
        * ltconfig.in (file_magic_test_file): new variable; if set, it
        will be used as an argument for $file_magic_cmd to test whether
        the regex in deplibs_check_method matches its output
index 9b1c5b952e8d3c1aa9cf0d87eff65826e68de517..67b88cd96bd27d51a2b9de123952c33b31f6cede 100755 (executable)
@@ -1796,7 +1796,16 @@ osf3* | osf4*)
   soname_spec='${libname}${release}.so'
   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
   shlibpath_var=LD_LIBRARY_PATH
-  deplibs_check_method='pass_all'
+  # deplibs_check_method='pass_all'
+  # Although pass_all appears to work, it copies symbols from static libraries
+  # into shared ones and exports them.  So, when a program is linked with two
+  # or more libraries that have got copies of the same symbols, link fails
+  # This was only tested on osf4:
+  deplibs_check_method='file_magic COFF format alpha shared library'
+  file_magic_cmd=/usr/bin/file
+  file_magic_test_file=/shlib/libc.so
+  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
+  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   ;;
 
 sco3.2v5*)