mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: clog: Add "-DUSE_SYSTEM_LIBS=ON" configure flag.
* gnu/packages/parallel.scm (clog)[arguments]: Add "-DUSE_SYSTEM_LIBS=ON" to #:configure-flags. * gnu/packages/patches/clog-fix-shared-build.patch: Adjust patch.
This commit is contained in:
parent
ab6e8ecbb5
commit
bec16cc910
2 changed files with 12 additions and 40 deletions
|
@ -536,11 +536,14 @@ processor name, cache information, and topology information.")
|
|||
(inherit (package-source cpuinfo))
|
||||
(patches (search-patches "clog-fix-shared-build.patch"))))
|
||||
(arguments
|
||||
(list #:configure-flags #~(list "-DBUILD_SHARED_LIBS=ON")
|
||||
#:phases #~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'chdir
|
||||
(lambda _
|
||||
(chdir "deps/clog"))))))
|
||||
(list
|
||||
#:configure-flags
|
||||
''("-DBUILD_SHARED_LIBS=ON"
|
||||
"-DUSE_SYSTEM_LIBS=ON")
|
||||
#:phases #~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'chdir
|
||||
(lambda _
|
||||
(chdir "deps/clog"))))))
|
||||
(native-inputs (list googletest))
|
||||
(inputs '())
|
||||
(synopsis "C-style logging library based on printf")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue