Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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
  • Loading branch information
pmenzel committed Jul 19, 2019
1 parent baea402 commit f1ff98b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions double-conversion.be0
Expand Up @@ -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
Expand Down

0 comments on commit f1ff98b

Please sign in to comment.