Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Yeo <daveryeo@telus.net>2007-09-15 15:09:30 +0400
committerDiego Biurrun <diego@biurrun.de>2007-09-15 15:09:30 +0400
commit203697732519914361a95e2384cd5b0e570faa60 (patch)
tree09ef59365f55341d29d8e4818716734f9b7fc911 /configure
parent2a898132a273294eb81925ec68f1277e648bbb2d (diff)
ln is not available on all platforms, so introduce a variable for it
that can be set to a suitable platform-specific command. patch by Dave Yeo, daveryeo telus net Originally committed as revision 10503 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure
index 43e66a5b57..6c506662ed 100755
--- a/configure
+++ b/configure
@@ -835,6 +835,7 @@ ranlib="ranlib"
make="make"
strip="strip"
asmalign_pot="unknown"
+ln_s="ln -sf"
# machine
arch=`uname -m`
@@ -1219,6 +1220,7 @@ cc="${cross_prefix}${cc}"
ar="${cross_prefix}${ar}"
ranlib="${cross_prefix}${ranlib}"
strip="${cross_prefix}${strip}"
+ln_s="${cross_prefix}${ln_s}"
# we need to build at least one lib type
if ! enabled_any static shared; then
@@ -1879,6 +1881,7 @@ echo "MAKE=$make" >> config.mak
echo "CC=$cc" >> config.mak
echo "AR=$ar" >> config.mak
echo "RANLIB=$ranlib" >> config.mak
+echo "LN_S=$ln_s" >> config.mak
if enabled dostrip; then
echo "STRIP=$strip" >> config.mak
else
@@ -2022,7 +2025,7 @@ if enabled source_path_used; then
mkdir -p $dir
done
for f in $FILES ; do
- ln -sf "$source_path/$f" $f
+ $ln_s "$source_path/$f" $f
done
fi