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
This commit is contained in:
Ricardo Wurmus 2023-12-29 17:26:17 +01:00
parent 4d8b93e865
commit 375200111d
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -5935,7 +5935,6 @@ (define-public python-dm-tree
(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 @@ (define-public python-dm-tree
(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")