From b8728981627f7035fb89323d074192b6ff49ea8c Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sun, 16 Jan 2005 05:38:32 +0000 Subject: Per http://bugs.uclibc.org/view.php?id=15, patch from kergoth: Sometimes it is desirable to build ldconfig non-static. --- utils/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/Makefile') diff --git a/utils/Makefile b/utils/Makefile index 6b89974c5..0f02a2e06 100644 --- a/utils/Makefile +++ b/utils/Makefile @@ -45,7 +45,7 @@ readelf: readelf.c $(STRIPTOOL) -x -R .note -R .comment $@ ldconfig: ldconfig.c - $(CC) $(CFLAGS) -Wl,-s -static \ + $(CC) $(CFLAGS) -Wl,-s $(if $(filter $(UCLIBC_STATIC_LDCONFIG),y),-static) \ -DUCLIBC_RUNTIME_PREFIX=\"$(RUNTIME_PREFIX)\" \ -DUCLIBC_LDSO=$(UCLIBC_LDSO) -I. -I../ldso/include \ $^ -o $@ -- cgit v1.2.3