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
|
||||
`(#:configure-flags
|
||||
;; C++11 (-DSOCI_CXX11) is OFF by default. hyperledger-iroha needs it.
|
||||
(list "-DCMAKE_CXX_STANDARD=17")
|
||||
#:tests? #f ; may require running database management systems
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-lib-path
|
||||
(lambda _
|
||||
(substitute* "CMakeLists.txt"
|
||||
(("set\\(SOCI_LIBDIR \"lib64\"\\)") ""))
|
||||
#t)))))
|
||||
(list "-DCMAKE_CXX_STANDARD=17"
|
||||
"-DSOCI_LIBDIR=lib")
|
||||
#: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…
Reference in a new issue