mupen64plus: fix build failure

Closes #10870.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
This commit is contained in:
fallenwizard 2018-01-16 09:29:38 +01:00 committed by Enno Boland
parent e20ebcf10a
commit 58cca87c12
2 changed files with 13 additions and 1 deletions

View File

@ -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
--- 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)

View File

@ -1,7 +1,7 @@
# Template file for 'mupen64plus'
pkgname=mupen64plus
version=2.5
revision=7
revision=8
wrksrc="mupen64plus-bundle-src-${version}"
hostmakedepends="pkg-config"
makedepends="boost-devel SDL-devel speexdsp-devel freetype-devel glu-devel libpng-devel libsamplerate-devel"