diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-09-12 06:59:36 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-09-12 06:59:36 +0000 |
commit | f087be10ae023d1df895126237ee5c1033484888 (patch) | |
tree | 4a2657f23e7144ae446023c33e5771ca076c5b83 /configure | |
parent | 1878e0384b83d7f0640a30cdc3b616f993e7d3ac (diff) | |
download | mpv-f087be10ae023d1df895126237ee5c1033484888.tar.bz2 mpv-f087be10ae023d1df895126237ee5c1033484888.tar.xz |
Do not replace _ by - if x86_64 is given in --target.
Patch by Andrew Calkin (andrew calkin gmail com)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24430 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1282,7 +1282,10 @@ else # if test -z "$_target" mingw32msvc) system_name=MINGW32 ;; esac # We need to convert underscores so that values like k6-2 and pentium-mmx can be passed - host_arch=`echo $_target | cut -d '-' -f 1 | tr '_' '-'` + host_arch=`echo $_target | cut -d '-' -f 1` + if test `echo $host_arch` != "x86_64" ; then + host_arch=`echo $host_arch | tr '_' '-'` + fi fi echo "Detected operating system: $system_name" |