home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / perl560.zip / cygwin / ld2.in < prev    next >
Text File  |  1999-08-01  |  473b  |  21 lines

  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
  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!
  17. echo i see no perl executable around there
  18. echo perl is required to build dynamic libraries
  19. echo go fetch one or build this one static
  20. exit 1
  21.