summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ldso/dynlink.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ldso/dynlink.c b/src/ldso/dynlink.c
index 57a5ba46..1b55e077 100644
--- 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