mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 06:36:37 -05:00
gnu: java-swt: Fix build on some systems.
* gnu/packages/java.scm (java-swt)[arguments]: Adjust the custom 'build-native phase to set the C compiler. Change-Id: Ie961ea91e5cd2ce9fc7b2228e08d082a5a1cfe06
This commit is contained in:
parent
90d0299cfc
commit
884cf293f5
1 changed files with 2 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
|||
;;; Copyright © 2017, 2019, 2021 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||
;;; Copyright © 2018, 2019 Gábor Boskovits <boskovits@gmail.com>
|
||||
;;; Copyright © 2018 Chris Marusich <cmmarusich@gmail.com>
|
||||
;;; Copyright © 2018-2023 Efraim Flashner <efraim@flashner.co.il>
|
||||
;;; Copyright © 2018-2024 Efraim Flashner <efraim@flashner.co.il>
|
||||
;;; Copyright © 2019, 2020, 2021 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
|
||||
;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
|
||||
;;; Copyright © 2020 Raghav Gururajan <raghavgururajan@disroot.org>
|
||||
|
@ -3102,6 +3102,7 @@ (define-public java-swt
|
|||
;; package output.
|
||||
(mkdir-p lib)
|
||||
(setenv "OUTPUT_DIR" lib)
|
||||
(setenv "CC" ,(cc-for-target))
|
||||
(with-directory-excursion "src"
|
||||
(invoke "bash" "build.sh")))))
|
||||
(add-after 'install 'install-native
|
||||
|
|
Loading…
Reference in a new issue