Skip to content

Build double-conversion as shared library #1176

Merged
merged 2 commits into from
Jul 19, 2019

Conversation

pmenzel
Copy link
Collaborator

@pmenzel pmenzel commented Jul 19, 2019

No description provided.

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
@pmenzel pmenzel merged commit 5a2db5d into master Jul 19, 2019
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant