summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIsmael Luceno2020-05-10 19:23:42 +0200
committerIsmael Luceno2020-05-10 19:25:03 +0200
commit49fa237580b44948755bea2f5a7e3fbb338a7e8e (patch)
treea3b4754f47e48cfb163ade685253226b4f4b685a
parentee195cc4d25beb3251393d7aaec903d8ed8409df (diff)
transmission: Fix build against musl
-rwxr-xr-xftp/transmission/BUILD7
-rw-r--r--ftp/transmission/HISTORY3
2 files changed, 10 insertions, 0 deletions
diff --git a/ftp/transmission/BUILD b/ftp/transmission/BUILD
index d84d3146c5..8342603a21 100755
--- a/ftp/transmission/BUILD
+++ b/ftp/transmission/BUILD
@@ -1,3 +1,10 @@
OPTS="$TRANSMISSION_OPTS $OPTS" &&
+case "$HOST" in
+*-musl)
+ # The buildsystem assumes iconv is in libc
+ export LIBS="-liconv"
+ ;;
+esac &&
+
default_build
diff --git a/ftp/transmission/HISTORY b/ftp/transmission/HISTORY
index aac575ea93..fa350e556e 100644
--- a/ftp/transmission/HISTORY
+++ b/ftp/transmission/HISTORY
@@ -1,3 +1,6 @@
+2020-05-10 Ismael Luceno <ismael@sourcemage.org
+ * BUILD: Fixed build against musl
+
2019-05-18 Ismael Luceno <ismael@sourcemage.org>
* DEPENDS: Update dependency; s/gettext/GETTEXT/