msysgit/bin/ld2

21 строка
500 B
Bash
Executable File

#!/bin/sh
#
# ld wrapper for building dynamic lib version of perl;
# passes all args to perlld
#
# own miniperl is first candidate 'cause it doesn not lock libperl.dll
for trythis in /src/perl/perl-5.8.8/miniperl /src/perl/perl-5.8.8/perl perl
do
if [ -x $trythis ]
then
$trythis /src/perl/perl-5.8.8/perlld "$@"
exit $?
fi
done
# hard luck!
echo i see no perl executable around there
echo perl is required to build dynamic libraries
echo go fetch one or build this one static
exit 1