Skip to content
Browse files

mythmusic: Fix cross compiling for win32

When cross compiling for win32, mythplugins configure fails to find a
number of required libraries for mythmusic, which is then disabled.

This patch adds the correct library search paths and additional libs.

NB to correctly run configure for mythmusic on mingw requires an updated

Fixes #10742

Signed-off-by: Lawrence Rust <>
Signed-off-by: Gavin Hurlbut <>
  • Loading branch information...
1 parent b8a78ae commit 28ed490522a113fda1ce57cad1b40a7d9d3312ca Lawrence Rust committed with Beirdo May 20, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 mythplugins/configure
5 mythplugins/configure
@@ -151,7 +151,7 @@ check_ld(){
test "${f}" = "${f#-l}" && flags="$flags $f" || libs="$libs $f"
check_cc $($filter_cflags $flags) || return
- check_cmd $LD $LDFLAGS $flags -o $TMPE $TMPO $libs
+ check_cmd $LD $LDFLAGS $flags -o $TMPE $TMPO $libs $EXTRALIBS
@@ -555,6 +555,9 @@ CXXPPFLAGS=$(cat mythconfig.mak | grep -e "^CXXPPFLAGS=")
OPENGLV=$(cat mythconfig.mak | grep -e "^CONFIG_OPENGL_VIDEO=yes")
+EXTRALIBS=$(cat mythconfig.mak | grep -e "^EXTRALIBS=")
if ! is_qmake4 $qmake; then
is_qmake4 qmake-qt4 && qmake=qmake-qt4 || die "qmake for Qt4.6 or newer not found.\nPlease specify the correct qmake with --qmake="

0 comments on commit 28ed490

Please sign in to comment.
Something went wrong with that request. Please try again.