@@ -1440,6 +1440,11 @@ (define-public libnatpmp
(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")