summaryrefslogtreecommitdiff
path: root/ldso/util/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-08-08 14:28:47 +0000
committerEric Andersen <andersen@codepoet.org>2002-08-08 14:28:47 +0000
commit4c69b9f793fc1eae9190d8ba26dba25db616272f (patch)
tree0029a765f3402cdbef9bb2f384c8a067e1ed17c0 /ldso/util/Makefile
parente3787b675f1a369697d97ba8e65bf6ba80ace51d (diff)
Patch from Stefan Allius and Edie C. Dost to let ldd and
readelf compile under solaris.
Diffstat (limited to 'ldso/util/Makefile')
-rw-r--r--ldso/util/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/ldso/util/Makefile b/ldso/util/Makefile
index 3e9393aac..dcd91dbaf 100644
--- a/ldso/util/Makefile
+++ b/ldso/util/Makefile
@@ -24,7 +24,10 @@ TOPDIR=../../
include $(TOPDIR)Rules.mak
TARGET_CC = $(TOPDIR)extra/gcc-uClibc/$(TARGET_ARCH)-uclibc-gcc
-TARGETS = elf_header ldd readelf
+TARGETS = elf_header ldd
+ifeq ($(OSTYPE),linux)
+TARGETS += readelf
+endif
ifneq ($(strip $(LIBRARY_CACHE)),)
TARGETS += ldconfig
endif