summaryrefslogtreecommitdiff
path: root/ui-console-pic.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ui-console-pic.patch')
-rw-r--r--ui-console-pic.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/ui-console-pic.patch b/ui-console-pic.patch
new file mode 100644
index 0000000..62a1485
--- /dev/null
+++ b/ui-console-pic.patch
@@ -0,0 +1,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)