This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Subject: [PATCH] Haiku Port
authorH.Merijn Brand <merijn@nb09.procura.nl>
Wed, 29 Oct 2008 08:07:32 +0000 (09:07 +0100)
committerH.Merijn Brand <merijn@nb09.procura.nl>
Wed, 29 Oct 2008 08:07:32 +0000 (09:07 +0100)
From: Ingo Weinhold <ingo_weinhold@gmx.de>
Date: Wed, 29 Oct 2008 02:25:44 +0100
Message-Id: <20081029022544.413.1@knochen-vm.localdomain>

U/perl/dlsrc.U
U/perl/libperl.U

index b9b6b6d..3fd3f33 100644 (file)
@@ -212,6 +212,7 @@ EOM
     case "$lddlflags" in
     '') case "$osname" in
                        beos) dflt='-nostart' ;;
+                       haiku) dflt='-shared' ;;
                        hpux) dflt='-b';
                              case "$gccversion" in
                              '') dflt="$dflt +vnocompatwarnings" ;;
index cac28e8..4412caa 100644 (file)
@@ -62,7 +62,7 @@ $undef)
        ;;
 *)     case "$useshrplib" in
        '')     case "$osname" in
-               svr4*|nonstopux|dgux|dynixptx|esix|powerux|beos|cygwin*)
+               svr4*|nonstopux|dgux|dynixptx|esix|powerux|beos|haiku|cygwin*)
                        dflt=y
                        also='Building a shared libperl is required for dynamic loading to work on your system.'
                        ;;
@@ -229,6 +229,9 @@ if "$useshrplib"; then
        beos)
                # beos doesn't like the default, either.
                ;;
+       haiku)
+               # Haiku doesn't like the default, either.
+               ;;
        hpux*)
                # hpux doesn't like the default, either.
                tmp_shrpenv="env LDOPTS=\"+s +b${shrpdir}\""