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:
Maxim Cournoyer 2024-06-13 22:34:34 -04:00 committed by Maxim Cournoyer
parent 5bd2569bd1
commit fb3e1ab79a
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -5807,16 +5807,17 @@ 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"
(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")