summaryrefslogtreecommitdiffstats
path: root/windowmanagers
diff options
context:
space:
mode:
authorIsmael Luceno2019-08-11 00:59:28 +0200
committerIsmael Luceno2019-08-11 00:59:32 +0200
commitb7dc3404d432ecc47b7270115f91a44eecc784ad (patch)
tree70d7ed411d0db5e9c1ddf1d8c221691281039440 /windowmanagers
parentc17e9b69e72309818e068b3e2b665174cb129913 (diff)
i3: Fix build against musl
Linking fails with musl because the buildsystem assumes iconv is part of libc. Force linking with libiconv.
Diffstat (limited to 'windowmanagers')
-rwxr-xr-xwindowmanagers/i3/BUILD6
-rw-r--r--windowmanagers/i3/HISTORY3
2 files changed, 9 insertions, 0 deletions
diff --git a/windowmanagers/i3/BUILD b/windowmanagers/i3/BUILD
index bf65a78709..a03858250b 100755
--- a/windowmanagers/i3/BUILD
+++ b/windowmanagers/i3/BUILD
@@ -1,2 +1,8 @@
OPTS+=" --disable-builddir" &&
+case "$HOST" in
+*-musl)
+ # The buildsystem assumes iconv is in libc
+ export LIBS="-liconv"
+ ;;
+esac &&
default_build
diff --git a/windowmanagers/i3/HISTORY b/windowmanagers/i3/HISTORY
index c313ace73f..63bc81ec44 100644
--- a/windowmanagers/i3/HISTORY
+++ b/windowmanagers/i3/HISTORY
@@ -1,3 +1,6 @@
+2019-08-11 Ismael Luceno <ismael@sourcemage.org>
+ * BUILD: Fixed build against musl
+
2017-08-15 Ismael Luceno <ismael@sourcemage.org>
* DETAILS: updated spell to 4.13
* DEPENDS: Depends on xcb-util-xrm