make dynamic linker depend on -DSHARED not -fPIC
[musl] / src / ldso / dynlink.c
index 0a64ef8..76f416c 100644 (file)
@@ -20,7 +20,7 @@
 static int errflag;
 static char errbuf[128];
 
-#ifdef __PIC__
+#ifdef SHARED
 
 #include "reloc.h"