Force PIC on the Makefile Added -fPIC (position-independent code) to the EXTRA_CFLAGS var in the Makefile. Required in x64 when building the shared library. Signed-off-by: Vicent Marti <tanoku@gmail.com>
diff --git a/Makefile b/Makefile
index ab56850..858f181 100644
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,7 @@ OS = unix
EXTRA_SRC =
EXTRA_OBJ =
-EXTRA_CFLAGS =
+EXTRA_CFLAGS = -fPIC
AR_OUT=
CC_OUT=-o # add a space