summaryrefslogtreecommitdiff
path: root/cygwin/ld2.in
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-08-01 20:20:05 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-08-01 20:20:05 +0000
commit8babd21611073cf7ab71cbfaf139d06738ff3f27 (patch)
treee04ee9ee4643e561e0b74c1e4e5eb49415436552 /cygwin/ld2.in
parent4113c5bc303671b3a2c078b02268869a69ef6576 (diff)
downloadperl-8babd21611073cf7ab71cbfaf139d06738ff3f27.tar.gz
move files around for s/cygwin32/cygwin/ renaming
p4raw-id: //depot/perl@3851
Diffstat (limited to 'cygwin/ld2.in')
-rw-r--r--cygwin/ld2.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/cygwin/ld2.in b/cygwin/ld2.in
new file mode 100644
index 0000000000..3776c71f87
--- /dev/null
+++ b/cygwin/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