summaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorIsmael Luceno2021-05-05 00:18:55 +0200
committerIsmael Luceno2021-05-05 00:18:55 +0200
commitb4c772726d39474f67ca2d61b29968e8f03257cc (patch)
tree81fd04ca824d9a0ecc5580c2ac0e1557892bcdb2 /x11-toolkits
parent757d0f7ceca9c7ae6819c4eec4702a33f501abef (diff)
wxgtk-new: Fix build against musl
Disable xlocale support explicitly; wxwidgets fails to detect the missing functions in musl.
Diffstat (limited to 'x11-toolkits')
-rwxr-xr-xx11-toolkits/wxgtk-new/BUILD7
-rw-r--r--x11-toolkits/wxgtk-new/HISTORY1
2 files changed, 8 insertions, 0 deletions
diff --git a/x11-toolkits/wxgtk-new/BUILD b/x11-toolkits/wxgtk-new/BUILD
index e78af14e42..0130e997a9 100755
--- a/x11-toolkits/wxgtk-new/BUILD
+++ b/x11-toolkits/wxgtk-new/BUILD
@@ -8,6 +8,13 @@ OPTS="$OPTS
--enable-unicode
--enable-graphics_ctx
" &&
+
+case "$HOST" in
+ (*-musl)
+ OPTS+=' --disable-xlocale'
+ ;;
+esac &&
+
# wx project recommends building in a separate directory
cd $SOURCE_DIRECTORY &&
mkdir -p bld-dir &&
diff --git a/x11-toolkits/wxgtk-new/HISTORY b/x11-toolkits/wxgtk-new/HISTORY
index 84b381196b..09dc23f00b 100644
--- a/x11-toolkits/wxgtk-new/HISTORY
+++ b/x11-toolkits/wxgtk-new/HISTORY
@@ -1,5 +1,6 @@
2021-05-04 Ismael Luceno <ismael@sourcemage.org>
* DETAILS: updated spell to 3.0.5.1
+ * BUILD: fixed build against musl
2020-09-25 Thomas Orgis <sobukus@sourcemage.org>
* DETAILS: back to stable version 3.0.5, trigger still in place