diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-07-11 01:47:30 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-07-11 01:47:30 -0400 |
commit | e864a29090459c98d106f6f74a16b3558e18fdca (patch) | |
tree | a32abe28de1b19a60893c3ad2d2a493cb79a3ece /src/ldso | |
parent | 0420b874465db7544a9e1f320969b4920c9405d8 (diff) | |
download | musl-e864a29090459c98d106f6f74a16b3558e18fdca.tar.gz musl-e864a29090459c98d106f6f74a16b3558e18fdca.tar.bz2 musl-e864a29090459c98d106f6f74a16b3558e18fdca.tar.xz musl-e864a29090459c98d106f6f74a16b3558e18fdca.zip |
make dynamic linker depend on -DSHARED not -fPIC
if libc.a is compiled PIC for use in static PIE code, this should not
cause the dynamic linker (which still does not support static-linked
main program) to be built into libc.a.
Diffstat (limited to 'src/ldso')
-rw-r--r-- | src/ldso/dynlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ldso/dynlink.c b/src/ldso/dynlink.c index 0a64ef8a..76f416c1 100644 --- a/src/ldso/dynlink.c +++ b/src/ldso/dynlink.c @@ -20,7 +20,7 @@ static int errflag; static char errbuf[128]; -#ifdef __PIC__ +#ifdef SHARED #include "reloc.h" |