gnu: onedrive: Link to all necessary libraries.

Reported by adanska on IRC.

* gnu/packages/sync.scm (onedrive)[arguments]: Remove custom
'link-to-external-libraries phase to allow linking to more libraries.
This commit is contained in:
Efraim Flashner 2023-06-14 19:06:32 +03:00
parent 4e60cbe5bb
commit cb902d7e1b
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -392,10 +392,6 @@ (define-public onedrive
#~(list (string-append "CC=" #$(cc-for-target)))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'link-to-external-libraries
(lambda _
;; Only link necessary libraries.
(setenv "DCFLAGS" "-L--as-needed")))
(add-after 'configure 'adjust-makefile
(lambda _
(substitute* "Makefile"