add reproc with cpp variant

This commit is contained in:
Yann Dupont 2024-01-12 11:53:20 +01:00
parent c76a0d9d47
commit a8e27780a5

19
glicid/packages/cpp.scm Normal file
View file

@ -0,0 +1,19 @@
(define-module (glicid packages cpp))
(use-modules (guix packages) (gnu packages cpp))
(define-public reproc-with-cpp
(package
(inherit reproc)
(name "reproc-with-cpp")
(arguments
;; No tests.
`(#:tests? #f
;; Build the shared library instead of a static one.
#:configure-flags `("-DBUILD_SHARED_LIBS=1 -DREPROC++=1")))
))