gnu: nng: Build as a shared library.

* gnu/packages/networking.scm (nng)[arguments]: Add configure-flag to
build as a shared library.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Hamzeh Nasajpour 2020-09-23 11:41:25 +03:30 committed by Efraim Flashner
parent 5c2db516f9
commit 6e398663c3
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -40,6 +40,7 @@
;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
;;; Copyright © 2020 Jesse Dowell <jessedowell@gmail.com>
;;; Copyright © 2020 Hamzeh Nasajpour <h.nasajpour@pantherx.org>
;;;
;;; This file is part of GNU Guix.
;;;
@ -419,7 +420,8 @@ (define-public nng
(arguments
`(#:configure-flags
(list "-DNNG_ENABLE_COVERAGE=ON"
"-DNNG_ENABLE_TLS=ON")
"-DNNG_ENABLE_TLS=ON"
"-DBUILD_SHARED_LIBS=ON")
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'disable-failing-tests