void-packages/srcpkgs/mupen64plus/patches/ui-console-pic.patch

13 lines
411 B
Diff

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)