mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-24 11:39:46 -05:00
gnu: cppunit: Explicitly link with libdl.
* gnu/packages/check.scm (cppunit)[arguments]: Add #:make-flags.
This commit is contained in:
parent
2cdfe13dea
commit
28edab7a1e
1 changed files with 8 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
|||
;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
|
||||
;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
|
||||
;;; Copyright © 2015 Eric Bavier <bavier@member.fsf.org>
|
||||
;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -95,6 +96,12 @@ (define-public cppunit
|
|||
(sha256
|
||||
(base32
|
||||
"0jm49v5rmc5qw34vqs56gy8xja1dhci73bmh23cig4kcir6a0a5c"))))
|
||||
;; Explicitly link with libdl. This is expected to be done by packages
|
||||
;; relying on cppunit for their tests. However, not all of them do.
|
||||
;; If we added the linker flag to such packages, we would pollute all
|
||||
;; binaries, not only those used for testing.
|
||||
(arguments
|
||||
`(#:make-flags '("LDFLAGS=-ldl")))
|
||||
(build-system gnu-build-system)
|
||||
(home-page "http://sourceforge.net/projects/cppunit/")
|
||||
(synopsis "Unit testing framework for C++")
|
||||
|
|
Loading…
Reference in a new issue