mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-28 05:30:34 +00:00
set correct source path when running configure using relative path
Originally committed as revision 4236 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
ad2b531d3f
commit
e7a4dafbe3
4
configure
vendored
4
configure
vendored
@ -377,13 +377,13 @@ TARGET_OS=`( uname -s ) 2>&1`
|
||||
esac
|
||||
|
||||
# find source path
|
||||
# XXX: we assume an absolute path is given when launching configure,
|
||||
# except in './configure' case.
|
||||
source_path="`echo $0 | sed -e 's#/configure##'`"
|
||||
source_path_used="yes"
|
||||
if test -z "$source_path" -o "$source_path" = "." ; then
|
||||
source_path=`pwd`
|
||||
source_path_used="no"
|
||||
else
|
||||
source_path="`cd \"$source_path\"; pwd`"
|
||||
fi
|
||||
|
||||
FFMPEG_CONFIGURATION=" "
|
||||
|
Loading…
Reference in New Issue
Block a user