mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: soci: Use gexps and remove inputs labels.
* gnu/packages/databases.scm (soci) [propagated-inputs]: Remove labels. [configure-flags]: Use gexps. Change-Id: I7e96296255c41ca46a1cb1e4c9b1e73fbbc286d8
This commit is contained in:
parent
5bd2569bd1
commit
fb3e1ab79a
1 changed files with 14 additions and 13 deletions
|
@ -5807,20 +5807,21 @@ The drivers officially supported by @code{libdbi} are:
|
|||
(build-system cmake-build-system)
|
||||
(propagated-inputs
|
||||
;; Headers of soci has include-references to headers of these inputs.
|
||||
`(("firebird" ,firebird)
|
||||
("postgresql" ,postgresql)
|
||||
("sqlite" ,sqlite)
|
||||
("odbc" ,unixodbc)
|
||||
("boost" ,boost)
|
||||
("mariadb:dev" ,mariadb "dev")))
|
||||
(list firebird
|
||||
postgresql
|
||||
sqlite
|
||||
unixodbc
|
||||
boost
|
||||
`(,mariadb "dev")))
|
||||
(arguments
|
||||
`(#:configure-flags
|
||||
;; C++11 (-DSOCI_CXX11) is OFF by default. hyperledger-iroha needs it.
|
||||
(list "-DCMAKE_CXX_STANDARD=17"
|
||||
"-DSOCI_LIBDIR=lib"
|
||||
;; This is for relocation when linking statically
|
||||
"-DCMAKE_CXX_FLAGS=-fPIE")
|
||||
#:tests? #f)) ; may require running database management systems
|
||||
(list #:configure-flags
|
||||
;; C++11 (-DSOCI_CXX11) is OFF by default. hyperledger-iroha needs
|
||||
;; it.
|
||||
#~(list "-DCMAKE_CXX_STANDARD=17"
|
||||
"-DSOCI_LIBDIR=lib"
|
||||
;; This is for relocation when linking statically
|
||||
"-DCMAKE_CXX_FLAGS=-fPIE")
|
||||
#:tests? #f)) ; may require running database management systems
|
||||
(synopsis "C++ Database Access Library")
|
||||
(description
|
||||
"SOCI is an abstraction layer for several database backends, including
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue