[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: wxwidgets: Fix building on aarch64-linux.
From: |
Efraim Flashner |
Subject: |
01/01: gnu: wxwidgets: Fix building on aarch64-linux. |
Date: |
Tue, 9 May 2017 01:52:12 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 59898500dda7901d5e467754f2522f883fbf68ba
Author: Efraim Flashner <address@hidden>
Date: Tue May 9 08:51:24 2017 +0300
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.
---
gnu/packages/wxwidgets.scm | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/wxwidgets.scm b/gnu/packages/wxwidgets.scm
index 077195c..329920d 100644
--- a/gnu/packages/wxwidgets.scm
+++ b/gnu/packages/wxwidgets.scm
@@ -4,6 +4,7 @@
;;; Copyright © 2016 Theodoros Foradis <address@hidden>
;;; Copyright © 2016 Danny Milosavljevic <address@hidden>
;;; Copyright © 2017 Rene Saavedra <address@hidden>
+;;; Copyright © 2017 Efraim Flashner <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -70,12 +71,16 @@
(native-inputs
`(("pkg-config" ,pkg-config)))
(arguments
- '(#:configure-flags
+ `(#:configure-flags
'("--with-regex" "--with-libmspack"
"--with-sdl"
"--enable-webview"
"--enable-webkit"
- "--enable-webviewwebkit")
+ "--enable-webviewwebkit"
+ ,@(if (string=? "aarch64-linux"
+ (%current-system))
+ '("--build=aarch64-unknown-linux-gnu")
+ '()))
#:make-flags
(list (string-append "LDFLAGS=-Wl,-rpath="
(assoc-ref %outputs "out") "/lib"))