diff options
Diffstat (limited to 'cygwin32/ld2.in')
-rw-r--r-- | cygwin32/ld2.in | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/cygwin32/ld2.in b/cygwin32/ld2.in new file mode 100644 index 0000000000..3776c71f87 --- /dev/null +++ b/cygwin32/ld2.in @@ -0,0 +1,20 @@ +#!/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 @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 there +echo perl is required to build dynamic libraries +echo go fetch one or build this one static +exit 1 |