gnu: wxwidgets: Fix building on aarch64-linux.

* gnu/packages/wxwidgets.scm (wxwidgets)[arguments]: On aarch64-linux
us a '--build' configure-flag to work around ancient autotools.
This commit is contained in:
Efraim Flashner 2017-05-09 08:51:24 +03:00
parent 9034dc8f2a
commit 59898500dd
No known key found for this signature in database
GPG Key ID: F4C1D3917EACEE93

View File

@ -4,6 +4,7 @@
;;; Copyright © 2016 Theodoros Foradis <theodoros.for@openmailbox.org> ;;; Copyright © 2016 Theodoros Foradis <theodoros.for@openmailbox.org>
;;; Copyright © 2016 Danny Milosavljevic <dannym@scratchpost.org> ;;; Copyright © 2016 Danny Milosavljevic <dannym@scratchpost.org>
;;; Copyright © 2017 Rene Saavedra <rennes@openmailbox.org> ;;; Copyright © 2017 Rene Saavedra <rennes@openmailbox.org>
;;; Copyright © 2017 Efraim Flashner <efraim@flashner.co.il>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -70,12 +71,16 @@
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config))) `(("pkg-config" ,pkg-config)))
(arguments (arguments
'(#:configure-flags `(#:configure-flags
'("--with-regex" "--with-libmspack" '("--with-regex" "--with-libmspack"
"--with-sdl" "--with-sdl"
"--enable-webview" "--enable-webview"
"--enable-webkit" "--enable-webkit"
"--enable-webviewwebkit") "--enable-webviewwebkit"
,@(if (string=? "aarch64-linux"
(%current-system))
'("--build=aarch64-unknown-linux-gnu")
'()))
#:make-flags #:make-flags
(list (string-append "LDFLAGS=-Wl,-rpath=" (list (string-append "LDFLAGS=-Wl,-rpath="
(assoc-ref %outputs "out") "/lib")) (assoc-ref %outputs "out") "/lib"))