diff --git a/source/mupen64plus-ui-console/projects/unix/Makefile b/source/mupen64plus-ui-console/projects/unix/Makefile
index a4a05e3..199f27f 100755
--- source/mupen64plus-ui-console/projects/unix/Makefile
+++ source/mupen64plus-ui-console/projects/unix/Makefile
@@ -90,6 +90,7 @@ endif
 
 # set special flags per-system
 ifeq ($(OS), LINUX)
+  CFLAGS += -fPIC
   LDLIBS += -ldl
 endif
 ifeq ($(OS), OSX)
