guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

09/10: gnu: libnatpmp: Install missing natpmp_declspec.h header.


From: guix-commits
Subject: 09/10: gnu: libnatpmp: Install missing natpmp_declspec.h header.
Date: Fri, 18 Aug 2023 14:16:21 -0400 (EDT)

apteryx pushed a commit to branch telephony-team
in repository guix.

commit d4de2df97dcb49eb9c441bbab0069e24f830013e
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Aug 18 01:00:18 2023 -0400

    gnu: libnatpmp: Install missing natpmp_declspec.h header.
    
    * gnu/packages/networking.scm (libnatpmp) [arguments]: Specify the
    "HEADERS=natpmp.h natpmp_declspec.h" make flag.
---
 gnu/packages/networking.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index b00306971c..faeaefba0c 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -1440,6 +1440,11 @@ files contain direct mappings of the abstractions 
provided by the ØMQ C API.")
                         (delete 'check)) ; no tests
            #:make-flags
            #~(list (string-append "CC=" #$(cc-for-target))
+                   ;; Explicitly specify the headers, otherwise only natpmp.h
+                   ;; would be installed, referring to the missing
+                   ;; natpmp_declspec.h (see:
+                   ;; https://github.com/miniupnp/libnatpmp/issues/41).
+                   (string-append "HEADERS=natpmp.h natpmp_declspec.h")
                    (string-append "INSTALLPREFIX=" #$output)
                    (string-append "LDFLAGS=-Wl,-rpath=" #$output "/lib"))))
     (home-page "https://miniupnp.tuxfamily.org/libnatpmp.html";)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]