summaryrefslogtreecommitdiff
path: root/test/silly
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-07-12 20:40:53 +0000
committerEric Andersen <andersen@codepoet.org>2001-07-12 20:40:53 +0000
commitd6e6ee0202f8705a30b10b53eb259a2d62ece466 (patch)
treef3a3f194b2dc1c3af6adb91fac103ef304379d26 /test/silly
parentdd5db8b9f54ccfc62cf74f6acfba8b73db3c5977 (diff)
Use uClibc's ldd, not the system one which is probably broken
anyways. This ensures correct answers, and prevents all the annoying segfaults from the system ldd. -Erik
Diffstat (limited to 'test/silly')
-rw-r--r--test/silly/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/silly/Makefile b/test/silly/Makefile
index e94d67515..fb343ff1a 100644
--- a/test/silly/Makefile
+++ b/test/silly/Makefile
@@ -23,7 +23,7 @@ hello: hello.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak $(CC)
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- -ldd $@
+ -$(LDD) $@
ls -l $@
-./$@
-@ echo " "
@@ -36,7 +36,7 @@ hello_glibc: hello.c Makefile
$(HOST_CC) $(GLIBC_CFLAGS) -c $< -o $@.o
$(HOST_CC) $(GLIBC_LDFLAGS) $@.o -o $@
$(STRIPTOOL) -x -R .note -R .comment $@
- -ldd $@
+ -$(LDD) $@
ls -l $@
-./$@
-@ echo " "