mirror of
git://git.musl-libc.org/musl
synced 2025-03-06 20:48:29 +01:00
disable dynamic linking/loading code in static libc builds, for now
it does not work, but some configure scripts will falsely detect support then generate programs that crash when they call dlopen.
This commit is contained in:
parent
b0c088ee55
commit
4f4bf0ad2e
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue