S_del_body is sufficiently small that inlining it is a space win.
[p5sagit/p5-mst-13.2.git] / cygwin / ld2.in
CommitLineData
8736538c 1#!/bin/sh
2#
3# ld wrapper for building dynamic lib version of perl;
4# passes all args to perlld
5#
6
7# own miniperl is first candidate 'cause it doesn not lock libperl.dll
8for trythis in @buildpath@/miniperl @buildpath@/perl perl
9do
10 if [ -x $trythis ]
11 then
12 $trythis @buildpath@/perlld "$@"
13 exit $?
14 fi
15done
16# hard luck!
17echo i see no perl executable around there
18echo perl is required to build dynamic libraries
19echo go fetch one or build this one static
20exit 1