summaryrefslogtreecommitdiffstats
path: root/ltcf-c.sh
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2001-05-20 19:02:54 +0000
committerAlexandre Oliva <aoliva@redhat.com>2001-05-20 19:02:54 +0000
commit60be3f0066c8b884879981d053ffef40a2a93865 (patch)
treea9043de93eb34faef081d683d3a811f1659aff7e /ltcf-c.sh
parent1b72f36e89d5ac63e2cda04420a86861051084bd (diff)
downloadcygnal-60be3f0066c8b884879981d053ffef40a2a93865.tar.gz
cygnal-60be3f0066c8b884879981d053ffef40a2a93865.tar.bz2
cygnal-60be3f0066c8b884879981d053ffef40a2a93865.zip
* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
ltcf-gcj.sh: Upgraded to libtool 1.4a 1.641.2.254. Rebuilt a number of subdir/configure scripts to use the new libtool.m4.
Diffstat (limited to 'ltcf-c.sh')
-rw-r--r--ltcf-c.sh13
1 files changed, 9 insertions, 4 deletions
diff --git a/ltcf-c.sh b/ltcf-c.sh
index 17b65111c..d9bbae954 100644
--- a/ltcf-c.sh
+++ b/ltcf-c.sh
@@ -188,8 +188,8 @@ EOF
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
wlarc=
else
- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
- archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+ archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
fi
;;
@@ -585,8 +585,13 @@ else
runpath_var=LD_RUN_PATH
;;
- unixware7*)
- archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ 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
;;