mirror of
git://git.musl-libc.org/musl
synced 2025-03-06 20:48:29 +01:00
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.
This commit is contained in:
parent
0420b87446
commit
e864a29090
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@
|
|||
static int errflag;
|
||||
static char errbuf[128];
|
||||
|
||||
#ifdef __PIC__
|
||||
#ifdef SHARED
|
||||
|
||||
#include "reloc.h"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue