diff --git a/srcpkgs/mupdf/template b/srcpkgs/mupdf/template index 413a0d216d8..8aeeede7cf4 100644 --- a/srcpkgs/mupdf/template +++ b/srcpkgs/mupdf/template @@ -25,6 +25,7 @@ do_configure() { } do_build() { + CFLAGS+=" -fPIC" if [ "$CROSS_BUILD" ]; then make CROSSCOMPILE=yes CURL_LIBS='-lcurl -lpthread' build=release else