summaryrefslogtreecommitdiff
path: root/ui-console-pic.patch
blob: 62a14850a5021f9849d317b8650f5c24f11371aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/source/mupen64plus-ui-console/projects/unix/Makefile b/source/mupen64plus-ui-console/projects/unix/Makefile
index a4a05e3..199f27f 100755
--- a/source/mupen64plus-ui-console/projects/unix/Makefile
+++ b/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)