Commit | Line | Data |
---|---|---|
8736538c AS |
1 | #!/bin/sh |
2 | # | |
3 | # ld wrapper for building dynamic lib version of perl; | |
4 | # passes all args to perlld | |
5 | # | |
6 | ||
454fb80f | 7 | # miniperl is first candidate because it does not lock libperl.dll |
8736538c AS |
8 | for trythis in @buildpath@/miniperl @buildpath@/perl perl |
9 | do | |
10 | if [ -x $trythis ] | |
11 | then | |
12 | $trythis @buildpath@/perlld "$@" | |
13 | exit $? | |
14 | fi | |
15 | done | |
16 | # hard luck! | |
454fb80f SP |
17 | echo I see no perl executable around here. Perl |
18 | echo is required to build dynamic libraries. Please | |
19 | echo reinstall Perl or build this one with static. | |
8736538c | 20 | exit 1 |