gnu: make-libiberty: Install the header demangle.h.

This header is wanted by Dyninst.

* gnu/packages/gcc.scm (make-libiberty):
  Add include/demangle.h to install phase.

Change-Id: I01235071b75b412f55785d240cda248315b7a93e
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Nguyễn Gia Phong 2024-09-19 16:38:37 +09:00 committed by Ludovic Courtès
parent 26643fa275
commit ad6deff8bb
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

View File

@ -16,6 +16,7 @@
;;; Copyright © 2024 Zheng Junjie <873216071@qq.com> ;;; Copyright © 2024 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2023 Bruno Victal <mirai@makinata.eu> ;;; Copyright © 2023 Bruno Victal <mirai@makinata.eu>
;;; Copyright © 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com> ;;; Copyright © 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2024 Nguyễn Gia Phong <mcsinyx@disroot.org>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -1075,6 +1076,7 @@ using compilers other than GCC."
(lib (string-append out "/lib/")) (lib (string-append out "/lib/"))
(include (string-append out "/include/"))) (include (string-append out "/include/")))
(install-file "libiberty.a" lib) (install-file "libiberty.a" lib)
(install-file "../include/demangle.h" include)
(install-file "../include/libiberty.h" include))))))) (install-file "../include/libiberty.h" include)))))))
(inputs '()) (inputs '())
(outputs '("out")) (outputs '("out"))