mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 04:29:25 -05:00
gnu: virtuoso-use: Remove static libraries.
* gnu/packages/databases.scm (virtuoso-ose): Remove static libraries from the build output.
This commit is contained in:
parent
2b5b7809b6
commit
d26bf52948
1 changed files with 13 additions and 1 deletions
|
@ -2549,7 +2549,19 @@ (define-public virtuoso-ose
|
|||
;; TODO: Removing the libsrc/zlib source directory breaks the build.
|
||||
;; This indicates that the internal zlib code may still be used.
|
||||
#:configure-flags '("--without-internal-zlib"
|
||||
"--with-readline")))
|
||||
"--with-readline"
|
||||
"--enable-static=no")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
;; Even with "--enable-static=no", "libvirtuoso-t.a" is left in
|
||||
;; the build output. The following phase removes it.
|
||||
(add-after 'install 'remove-static-libs
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((lib (string-append (assoc-ref outputs "out") "/lib")))
|
||||
(for-each (lambda (file)
|
||||
(delete-file (string-append lib "/" file)))
|
||||
'("libvirtuoso-t.a"
|
||||
"libvirtuoso-t.la"))))))))
|
||||
(inputs
|
||||
`(("openssl" ,openssl-1.0)
|
||||
("net-tools" ,net-tools)
|
||||
|
|
Loading…
Reference in a new issue