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: Ie961ea91e5cd2ce9fc7b2228e08d082a5a1cfe06master
parent
90d0299cfc
commit
884cf293f5
|
@ -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 @@ specification.")
|
|||
;; 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
|
||||
|
|
Reference in New Issue