projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0420b87
)
make dynamic linker depend on -DSHARED not -fPIC
author
Rich Felker
<dalias@aerifal.cx>
Wed, 11 Jul 2012 05:47:30 +0000
(
01:47
-0400)
committer
Rich Felker
<dalias@aerifal.cx>
Wed, 11 Jul 2012 05:47:30 +0000
(
01:47
-0400)
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.
src/ldso/dynlink.c
patch
|
blob
|
history
diff --git
a/src/ldso/dynlink.c
b/src/ldso/dynlink.c
index 0a64ef8ae2decafba3cf592da87ed34319cf615f..76f416c1a23a02745331257e267dc34188b48509 100644
(file)
--- 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"