* Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define

using $(LN_S).
This commit is contained in:
Roland McGrath 2000-03-24 21:41:15 +00:00
parent 4f173e2c8a
commit 6a08db097b
2 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
* 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 ...

View File

@ -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 $(<F) $@ >> $(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