From 6a08db097bfbc85337e9b36de24ce1faf3c5cc63 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 24 Mar 2000 21:41:15 +0000 Subject: [PATCH] * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define using $(LN_S). --- ChangeLog | 3 +++ Makerules | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4f1c01f..45c0b88 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2000-03-24 Roland McGrath + * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define + using $(LN_S). + * sysdeps/mach/hurd/if_index.c: New file. * sysdeps/unix/sysv/linux/net/if.h: Moved to ... diff --git a/Makerules b/Makerules index d64f352..edbf8a5 100644 --- a/Makerules +++ b/Makerules @@ -677,13 +677,16 @@ mv -f $@.new $@ endef endif -ifeq (no,$(cross-compiling)) ifeq (yes,$(build-shared)) +ifeq (no,$(cross-compiling)) symbolic-link-prog := $(common-objpfx)elf/sln symbolic-link-list := $(common-objpfx)elf/symlink.list define make-shlib-link echo $(> $(symbolic-link-list) endef +else # cross-compiling +# We need a definition that can be used by elf/Makefile's install rules. +symbolic-link-prog = $(LN_S) endif endif ifndef make-shlib-link -- 2.7.4