From: Alexandre Oliva Date: Sun, 14 Mar 1999 00:40:03 +0000 (+0000) Subject: * ltconfig.in (osf3*, osf4*, deplibs_check_method): pass_all does X-Git-Tag: release-1-2f~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93f8997b0213f2565fba481210b72bc928d03107;p=thirdparty%2Flibtool.git * 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 --- diff --git a/ChangeLog b/ChangeLog index daf45e51d..f2051a855 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 1999-03-13 Alexandre Oliva + * 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 diff --git a/ltconfig.in b/ltconfig.in index 9b1c5b952..67b88cd96 100755 --- a/ltconfig.in +++ b/ltconfig.in @@ -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*)