summaryrefslogtreecommitdiff
path: root/cygwin/ld2.in
blob: fb41257410a7ead9b3781c975f51c5c569f17c2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh
#
# ld wrapper for building dynamic lib version of perl;
#  passes all args to perlld
#

# miniperl is first candidate because it does not lock libperl.dll
for trythis in @buildpath@/miniperl @buildpath@/perl perl
do
  if [ -x $trythis ]
  then
    $trythis @buildpath@/perlld "$@"
    exit $?
  fi
done
# hard luck!
echo I see no perl executable around here.  Perl
echo is required to build dynamic libraries.  Please
echo reinstall Perl or build this one with static.
exit 1