summaryrefslogtreecommitdiffstats
path: root/ldso
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2001-06-11 13:52:43 +0000
committerManuel Novoa III <mjn3@codepoet.org>2001-06-11 13:52:43 +0000
commit68822fc77d6304f559f06acbd0d471716a43c383 (patch)
treeac14343d13c0596395e059a8444e95014e7a8e23 /ldso
parentd6c19a6e1a1921de26de77e2f3e6a1eaa19b6e73 (diff)
downloaduClibc-alpine-68822fc77d6304f559f06acbd0d471716a43c383.tar.bz2
uClibc-alpine-68822fc77d6304f559f06acbd0d471716a43c383.tar.xz
Fix bug in ldso/util/Makefile introduced when Erik added the readelf app.
It didn't show up if a previous install was done. This would have been fixed two days ago if the initial bug report had been anything close to lucid. :-( Also changed ldconfig back to staticly linked and update the README file.
Diffstat (limited to 'ldso')
-rw-r--r--ldso/util/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldso/util/Makefile b/ldso/util/Makefile
index e61e1b62d..725fc9b8e 100644
--- a/ldso/util/Makefile
+++ b/ldso/util/Makefile
@@ -1,7 +1,7 @@
TOPDIR=../../
include $(TOPDIR)Rules.mak
-CFLAGS=-Wall -Os -I- -I../../include -I.
+CFLAGS=-Wall -Os -I- -I. --uclibc-use-build-dir
CC = $(TOPDIR)extra/gcc-uClibc/$(NATIVE_ARCH)-uclibc-gcc
all: ldconfig ldd readelf
@@ -23,7 +23,7 @@ readelf: readelf.c
$(CC) $(CFLAGS) readelf.c -o $@
ldconfig: ldconfig.o readsoname.o
- $(CC) $(CFLAGS) $^ -o $@
+ $(CC) $(CFLAGS) -static $^ -o $@
ldd: ldd.o readsoname.o
$(CC) $(CFLAGS) $^ -o $@