aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2000-03-24 21:41:15 +0000
committerRoland McGrath <roland@gnu.org>2000-03-24 21:41:15 +0000
commit6a08db097bfbc85337e9b36de24ce1faf3c5cc63 (patch)
tree503cc0022d7a75261ca0f987ccb0dd59d5959045
parent4f173e2c8a9ee8d5cb64d56a4bad391168d78a2b (diff)
downloadglibc-6a08db097bfbc85337e9b36de24ce1faf3c5cc63.tar
glibc-6a08db097bfbc85337e9b36de24ce1faf3c5cc63.tar.gz
glibc-6a08db097bfbc85337e9b36de24ce1faf3c5cc63.tar.bz2
glibc-6a08db097bfbc85337e9b36de24ce1faf3c5cc63.zip
* Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
using $(LN_S).
-rw-r--r--ChangeLog3
-rw-r--r--Makerules5
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4f1c01fe79..45c0b88fb7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 ...
diff --git a/Makerules b/Makerules
index d64f35254b..edbf8a5b81 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 $(<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