This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
From: Benny Siegert <bsiegert@gmail.com>
authorH.Merijn Brand <merijn@tux09.procura.nl>
Sun, 23 Jan 2011 09:15:59 +0000 (10:15 +0100)
committerH.Merijn Brand <merijn@tux09.procura.nl>
Sun, 23 Jan 2011 09:15:59 +0000 (10:15 +0100)
Date: Thu, 20 Jan 2011 19:27:04 +0100
Subject: [PATCH] MirBSD: fix rpath for shared libperl

If you build perl with a shared libperl.so on MirBSD (the default config),
it will work up to the installation; however, once installed, it will be
unable to find libperl. Treat rpath handling like in the other BSD
dialects.

Signed-off-by: H.Merijn Brand <merijn@tux09.procura.nl>
U/perl/libperl.U

index 047d83d..131576a 100644 (file)
@@ -224,7 +224,7 @@ if "$useshrplib"; then
        solaris)
                xxx="-R $shrpdir"
                ;;
-       freebsd|netbsd|openbsd|interix|dragonfly)
+       freebsd|mirbsd|netbsd|openbsd|interix|dragonfly)
                xxx="-Wl,-R$shrpdir"
                ;;
        bsdos|linux|irix*|dec_osf|gnu*)