This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
I've put it in. Thanks. > The second one (without a patch), which I am not 100% that it is > correct, is to use the following, which will just appened the > libraries that we need when compiling a static program, I don't think this would work right. Did you try it? libc and lib{mach,hurd}user need to be inside the same -( ... -) group. Yup, you are correct. The following would also work. 2004-10-18 Alfred M. Szmidt <ams@kemisten.nu> * sysdeps/mach/hurd/Makefile (link-libc-static): Append needed libraries instead of redefining `link-libc-static'. Removed `$(gnulib)' from the list of needed libraries. --- sysdeps/mach/hurd/Makefile 27 Jun 2003 08:21:33 +0200 1.94 +++ sysdeps/mach/hurd/Makefile 18 Oct 2004 13:08:48 +0200 @@ -174,17 +174,17 @@ endif # We need these libs to link static programs in the libc source tree, too. ifeq (yes,$(build-static)) -link-libc-static := -Wl,-\( \ +link-libc-static += -Wl,-\( \ $(patsubst %,$(common-objpfx)%.a,\ libc mach/libmachuser hurd/libhurduser) \ - $(gnulib) -Wl,-\) + -Wl,-\) else ifeq (yes,$(build-shared)) # We can try to link the programs with lib*_pic.a... -link-libc-static := $(link-libc) -Wl,-\( \ +link-libc-static += $(link-libc) -Wl,-\( \ $(patsubst %,$(common-objpfx)%_pic.a,\ libc mach/libmachuser hurd/libhurduser) \ - $(gnulib) -Wl,-\) + -Wl,-\) endif endif
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |