From f1ff98bf96f0e86b3c2f1b78eb2cf1e8856c08ab Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Thu, 11 Jul 2019 17:09:31 +0200 Subject: [PATCH] double-conversion: Build shared library Currently, [Inkscape 1.x][1] and Qt 5.x fail to build. /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib64/libdouble-conversion.a(double-conversion.cc.o): relocation R_X86_64_32 against `.bss' can not be used when making a shared object; recompile with -fPIC Instead of building the static library with `-fPIC` like [Debian does][2], build the shared version of the library. [1]: https://gitlab.com/inkscape/inkscape/issues/326 [2]: https://salsa.debian.org/science-team/double-conversion/blob/master/debian/rules#L43 --- double-conversion.be0 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/double-conversion.be0 b/double-conversion.be0 index df42a77c3..e0e832340 100755 --- a/double-conversion.be0 +++ b/double-conversion.be0 @@ -47,9 +47,10 @@ SRCURL[0]="https://github.com/google/double-conversion/archive/v${PKGVERSION}.ta # bee_patch "${@}" #} -#mee_configure() { -# bee_configure -#} +mee_configure() { + bee_configure \ + -DBUILD_SHARED_LIBS=ON +} #mee_build() { # bee_build