Skip to content

Build double-conversion as shared library #1176

Merged
merged 2 commits into from
Jul 19, 2019

Commits on Jul 19, 2019

  1. 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
    pmenzel committed Jul 19, 2019
    Configuration menu
    Copy the full SHA
    f1ff98b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bcfe2cc View commit details
    Browse the repository at this point in the history