aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a43c585..2d7cc38 100644
--- a/Makefile
+++ b/Makefile
@@ -17,6 +17,7 @@ LDLIBS += -lws2_32 -lpsapi -liphlpapi
SHAREDNAME = libuvh.dll
else
SHAREDNAME = libuvh.so
+SH_CFLAGS += -fPIC
endif
SOURCES = uvh.c http_parser.c sds.c