~ruther/guix-local

375200111db1c90dcb3cd179609f0aab96360bed — Ricardo Wurmus 2 years ago 4d8b93e
gnu: python-dm-tree: Fix build.

* gnu/packages/python-xyz.scm (python-dm-tree)[arguments]: Drop
--whole-archive linker arguments because with them symbols provided by
libabsl_hash.a would not be found.

Change-Id: Id9ea0e233dc9a1cc76c88c08314803671e4810f9
1 files changed, 0 insertions(+), 2 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +0 -2
@@ 5935,7 5935,6 @@ flexibility and power of the Python language.")
                      (string-append "-Wl," "-rpath=" python "/lib")
                      "-fno-semantic-interposition"
                      "build/temp/tree/tree.o"
                      "-Wl,--whole-archive"
                      "-L" (string-append python "/lib")
                      (string-append abseil-cpp "/lib/libabsl_int128.a")
                      (string-append abseil-cpp "/lib/libabsl_raw_hash_set.a")


@@ 5943,7 5942,6 @@ flexibility and power of the Python language.")
                      (string-append abseil-cpp "/lib/libabsl_strings.a")
                      (string-append abseil-cpp "/lib/libabsl_strings_internal.a")
                      (string-append abseil-cpp "/lib/libabsl_throw_delegate.a")
                      "-Wl,--no-whole-archive"
                      "-o" "build/lib/tree/_tree.so")))))))
    (home-page "https://github.com/deepmind/tree")
    (synopsis "Work with nested data structures in Python")