[Ekiga-devel-list] cross_prefix added to ln



Hi all,
trying to cross-compile ffmpeg with the following configure options:
./configure --cross-prefix=i586-mingw32msvc- --enable-shared --enable-memalign-hack
--cross-compile --target-os=mingw32 --enable-w32threads --arch=i686 ...

I run into the following error:

i586-mingw32msvc-ln -sf avutil-49.dll avutil.dll
make[2]: i586-mingw32msvc-ln: Command not found
make[2]: *** [avutil.dll] Error 127
make[2]: Leaving directory `/usr/src/ekigacvs/win32/ffmpeg/libavutil'
make[1]: *** [lib] Error 2
make[1]: Leaving directory `/usr/src/ekigacvs/win32/ffmpeg'
make: *** [/usr/src/ekigacvs/win32/bin/avcodec.dll] Error 2

Having a look at configure I noticed the following lines
1220-ar="${cross_prefix}${ar}"
1221-ranlib="${cross_prefix}${ranlib}"
1222-strip="${cross_prefix}${strip}"
1223:ln_s="${cross_prefix}${ln_s}"

Now I would like to ask whether it makes sense to add a cross_prefix in front of a simple ln or if
it is possible to simply remove this line like being done in the enclosed patch

Thanks in advance,
Matthias


      Heute schon einen Blick in die Zukunft von E-Mails wagen? Versuchen Sie´s mit dem neuen Yahoo! Mail. www.yahoo.de/mail
Index: configure
===================================================================
--- configure	(revision 10505)
+++ configure	(working copy)
@@ -1220,7 +1220,6 @@
 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]