mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-23 18:56:43 +01:00
gnu: soci: Configure LIBDIR normally.
* gnu/packages/databases.scm (soci)[arguments]: Add SOCI_LIBDIR to #:configure-flags instead of patching CMakeLists.txt.
This commit is contained in:
parent
d8fe45547e
commit
28da3c19c2
1 changed files with 3 additions and 9 deletions
|
@ -3909,15 +3909,9 @@ (define-public soci
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags
|
`(#:configure-flags
|
||||||
;; C++11 (-DSOCI_CXX11) is OFF by default. hyperledger-iroha needs it.
|
;; C++11 (-DSOCI_CXX11) is OFF by default. hyperledger-iroha needs it.
|
||||||
(list "-DCMAKE_CXX_STANDARD=17")
|
(list "-DCMAKE_CXX_STANDARD=17"
|
||||||
#:tests? #f ; may require running database management systems
|
"-DSOCI_LIBDIR=lib")
|
||||||
#:phases
|
#:tests? #f)) ; may require running database management systems
|
||||||
(modify-phases %standard-phases
|
|
||||||
(add-after 'unpack 'fix-lib-path
|
|
||||||
(lambda _
|
|
||||||
(substitute* "CMakeLists.txt"
|
|
||||||
(("set\\(SOCI_LIBDIR \"lib64\"\\)") ""))
|
|
||||||
#t)))))
|
|
||||||
(synopsis "C++ Database Access Library")
|
(synopsis "C++ Database Access Library")
|
||||||
(description
|
(description
|
||||||
"SOCI is an abstraction layer for several database backends, including
|
"SOCI is an abstraction layer for several database backends, including
|
||||||
|
|
Loading…
Reference in a new issue