Plan 9 from Bell Labs’s /usr/web/sources/contrib/gabidiaz/root/sys/src/cmd/perl/cygwin/ld2.in

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


#!/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

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.