2
0
mirror of git://sourceware.org/git/glibc.git synced 2025-04-24 14:41:06 +08:00

(link-libc-static): New variable; set this here, overriding Makeconfig

generic value so we link against the RPC libs.
This commit is contained in:
Ulrich Drepper 1998-08-20 17:25:45 +00:00
parent 97d4bfc393
commit 2bdae2a046

@ -1,4 +1,4 @@
# Copyright (C) 1993, 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
# Copyright (C) 1993, 94, 95, 96, 97, 98 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
# The GNU C Library is free software; you can redistribute it and/or
@ -124,6 +124,12 @@ ifeq (elf,$(subdir))
$(objpfx)librtld.so: $(rpcuserlibs:.so=_pic.a)
endif
# We need these libs to link static programs in the libc source tree, too.
link-libc-static := -Wl,-\( \
$(patsubst %,$(common-objpfx)%.a,\
libc mach/libmachuser hurd/libhurduser) \
$(gnulib) -Wl,-\)
ifeq ($(subdir),misc)
sysdep_routines += cthreads
endif