89fc8a4f5a
mplayer's configure script got confused by the equal sign (=) we now have in TARGET_CC because of --sysroot=<path>. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
23 lines
688 B
Diff
23 lines
688 B
Diff
[PATCH] mplayer: fix --cc= parsing if the value contains equal signs (=)
|
|
|
|
E.G. if -cc="$CROSS-gcc --sysroot=<SYSROOT>" is passed.
|
|
|
|
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
|
|
---
|
|
configure | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
Index: MPlayer-1.0rc2/configure
|
|
===================================================================
|
|
--- MPlayer-1.0rc2.orig/configure
|
|
+++ MPlayer-1.0rc2/configure
|
|
@@ -761,7 +761,7 @@ for ac_option do
|
|
_target=`echo $ac_option | cut -d '=' -f 2`
|
|
;;
|
|
--cc=*)
|
|
- _cc=`echo $ac_option | cut -d '=' -f 2`
|
|
+ _cc=`echo $ac_option | cut -d '=' -f 2-`
|
|
;;
|
|
--host-cc=*)
|
|
_host_cc=`echo $ac_option | cut -d '=' -f 2`
|