From b334b29a41a682f6669317575c8faea4f8d906e8 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Fri, 2 Apr 1999 09:08:21 +0000 Subject: [PATCH] * ltconfig.in (archive_cmds, sunos4*): where we used -Bstatic, we should have been using -Bshareable --- ChangeLog | 3 +++ ltconfig.in | 7 +++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9fbfce877..491c41579 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 1999-04-02 Alexandre Oliva + * ltconfig.in (archive_cmds, sunos4*): where we used -Bstatic, we + should have been using -Bshareable + * demo/Makefile.am (CLEANFILES): clean EXTRA_* from deplibs-check * libtool.m4 (LDFLAGS, LIBS): pass them to ltconfig, for the tests diff --git a/ltconfig.in b/ltconfig.in index 3b9b677ad..536685053 100755 --- a/ltconfig.in +++ b/ltconfig.in @@ -1073,7 +1073,7 @@ EOF ;; sunos4*) - archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linkopts' + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linkopts' wlarc= hardcode_direct=yes hardcode_shlibpath_var=no @@ -1323,12 +1323,11 @@ else ;; sunos4*) - # Why do we need -Bstatic? To avoid inter-library dependencies, maybe... if test "$with_gcc" = yes; then # Use -fPIC here because libgcc is multilibbed - archive_cmds='$CC -shared ${wl}-Bstatic -fPIC -o $lib $libobjs $deplibs $linkopts' + archive_cmds='$CC -shared -fPIC -o $lib $libobjs $deplibs $linkopts' else - archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linkopts' + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linkopts' fi hardcode_libdir_flag_spec='-L$libdir' hardcode_direct=yes -- 2.47.3