bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

patch to libtool.m4 to fix issues with OpenUNIX8


From: Larry Rosenman
Subject: patch to libtool.m4 to fix issues with OpenUNIX8
Date: Sun, 30 Dec 2001 18:28:52 -0600
User-agent: Mutt/1.3.24i

Working with the PHP folks, I found I needed to fix libtool.m4 from
your package. 

This is a diff against the 1.4.2 released files. 
The movement of the shell segment and the addition of sysv5Open* makes
it work. 


*** libtool.m4.old      Mon Sep 10 22:16:01 2001
--- libtool.m4  Sun Dec 30 18:17:52 2001
***************
*** 1805,1810 ****
--- 1805,1821 ----
      export_dynamic_flag_spec='-Bexport'
      ;;
  
+   sysv5uw7* | unixware7* | sysv5Open*)
+     no_undefined_flag='${wl}-z ${wl}text'
+     if test "$GCC" = yes; then
+       archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs 
$deplibs $compiler_flags'
+     else
+       archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs 
$compiler_flags'
+     fi
+     runpath_var='LD_RUN_PATH'
+     hardcode_shlibpath_var=no
+     ;;
+ 
    sysv5*)
      no_undefined_flag=' -z text'
      # $CC -shared without GNU ld will not create a library from C++
***************
*** 1848,1864 ****
      runpath_var=LD_RUN_PATH
      ;;
  
-   sysv5uw7* | unixware7*)
-     no_undefined_flag='${wl}-z ${wl}text'
-     if test "$GCC" = yes; then
-       archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs 
$deplibs $compiler_flags'
-     else
-       archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs 
$compiler_flags'
-     fi
-     runpath_var='LD_RUN_PATH'
-     hardcode_shlibpath_var=no
-     ;;
- 
    *)
      ld_shlibs=no
      ;;
--- 1859,1864 ----
***************
*** 3421,3428 ****
    lt_cv_file_magic_test_file=/lib/libc.so
    ;;
  
! sysv5uw[[78]]* | sysv4*uw2*)
    lt_cv_deplibs_check_method=pass_all
    ;;
  
  sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
--- 3421,3429 ----
    lt_cv_file_magic_test_file=/lib/libc.so
    ;;
  
! sysv5uw[[78]]* | sysv4*uw2* | sysv5Open*)
    lt_cv_deplibs_check_method=pass_all
+   lt_cv_archive_cmds_need_lc=no
    ;;
  
  sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)

-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: address@hidden
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749



reply via email to

[Prev in Thread] Current Thread [Next in Thread]