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:
b0c088e
)
disable dynamic linking/loading code in static libc builds, for now
author
Rich Felker
<dalias@aerifal.cx>
Sun, 18 Sep 2011 20:42:06 +0000
(16:42 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Sun, 18 Sep 2011 20:42:06 +0000
(16:42 -0400)
it does not work, but some configure scripts will falsely detect
support then generate programs that crash when they call dlopen.
src/ldso/dynlink.c
patch
|
blob
|
history
diff --git
a/src/ldso/dynlink.c
b/src/ldso/dynlink.c
index 57a5ba46044264374b77889108e14e7dd9a163bf..1b55e0774b9818c0f4807bab35d46876977ba0c7 100644
(file)
--- a/
src/ldso/dynlink.c
+++ b/
src/ldso/dynlink.c
@@
-1,3
+1,4
@@
+#ifdef __PIC__
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@
-681,3
+682,4
@@
int dlclose(void *p)
{
return 0;
}
+#endif