]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(link-libc-static): New variable; set this here, overriding Makeconfig
authorUlrich Drepper <drepper@redhat.com>
Thu, 20 Aug 1998 17:25:45 +0000 (17:25 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 20 Aug 1998 17:25:45 +0000 (17:25 +0000)
generic value so we link against the RPC libs.

sysdeps/mach/hurd/Makefile

index e108ed8db8668282601dab04735e4434674933ff..d51b46d13efeb46ef069d71089508d35843c8218 100644 (file)
@@ -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