This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: --disable-static on ELF fails
- To: Stanislav Brabec <utx@k332.feld.cvut.cz>
- Subject: Re: --disable-static on ELF fails
- From: Andreas Jaeger <aj@arthur.rhein-neckar.de>
- Date: 21 Nov 1998 11:48:54 +0100
- Cc: libc-alpha@cygnus.com
- Mail-Copies-To: never
- References: <199811161410.PAA29441@k332.feld.cvut.cz>
>>>>> Stanislav Brabec writes:
>> Description:
> Trying to build, this will fail, because build binaries
> in elf subdir are invalid (sln).
I've run in the same situation and added the appended patch to my
glibc tree. The patch gives us a dynamically linked sln (I know
that's against the idea of sln = static ln but don't see another
solution since we're not building static libs).
Uli, could you add this to glibc 2.1 - or has anybody a better
solution?
Andreas
1998-11-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* elf/Makefile (others-static): Build sln only static if
build-static==yes - otherwise we'll get a broken binary.
--- elf/Makefile.~1~ Sun Nov 15 22:33:04 1998
+++ elf/Makefile Sun Nov 15 22:34:08 1998
@@ -66,7 +66,9 @@
others = sprof sln
install-bin += sprof
+ifeq (yes,$(build-static))
others-static = sln
+endif
install-rootsbin = sln
ifeq (yes,$(has-ldconfig))
--
Andreas Jaeger aj@arthur.rhein-neckar.de jaeger@informatik.uni-kl.de
for pgp-key finger ajaeger@aixd1.rhrk.uni-kl.de