mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
gnu: qtwebkit: Fix build.
* gnu/packages/qt.scm (qtwebkit)[arguments]: Replace the standard build phase with a custom one that increases the maximum number of open file descriptors.
This commit is contained in:
parent
4c9d8ff142
commit
f3152cf302
1 changed files with 13 additions and 1 deletions
|
@ -2677,7 +2677,19 @@ (define-public qtwebkit
|
|||
;; libraries and test executables in a
|
||||
;; reasonable amount of memory.
|
||||
"-DCMAKE_SHARED_LINKER_FLAGS=-Wl,--no-keep-memory"
|
||||
"-DCMAKE_EXE_LINKER_FLAGS=-Wl,--no-keep-memory")))
|
||||
"-DCMAKE_EXE_LINKER_FLAGS=-Wl,--no-keep-memory")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'build
|
||||
;; This is a workaround for the build failing with the error:
|
||||
;; ld: error adding symbols: Malformed archive
|
||||
;; Increasing the maximum number of open file descriptors
|
||||
;; makes the build succeed.
|
||||
(lambda* (#:key make-flags #:allow-other-keys)
|
||||
(let ((cmd (format #f
|
||||
"ulimit -n 4096; make ~{~a~^ ~}"
|
||||
make-flags)))
|
||||
(invoke "sh" "-c" cmd)))))))
|
||||
(home-page "https://www.webkit.org")
|
||||
(synopsis "Web browser engine and classes to render and interact with web
|
||||
content")
|
||||
|
|
Loading…
Reference in a new issue