This should make the FreeBSD build support building a shared libparrot.
--
- Anders Nor Berle
Index: CREDITS
===================================================================
--- CREDITS (revision 10936)
+++ CREDITS (working copy)
@@ -46,8 +46,9 @@
D: ParTcl builtins
E: [EMAIL PROTECTED]
-N: Anders Nor Berle a.k.a. Debolaz
-D: cleanup in MANIFESTs and Configure.pl
+N: Anders Nor Berle
+D: Some cleanups and FreeBSD related fixes.
+E: [EMAIL PROTECTED]
N: Andrew Rodland
D: vim syntax files and editor doc
Index: config/init/hints/freebsd.pm
===================================================================
--- config/init/hints/freebsd.pm (revision 10936)
+++ config/init/hints/freebsd.pm (working copy)
@@ -28,8 +28,15 @@
$libs .= ' -pthread';
$conf->data->set(
- libs => $libs,
- link => 'g++',
+ libs => $libs,
+ link => 'g++',
+ rpath => '-Wl,-R',
+
+ has_dynamic_linking => 1,
+ parrot_is_shared => 1,
+ libparrot_shared => 'libparrot$(SHARE_EXT).$(SOVERSION)',
+ libparrot_shared_alias => 'libparrot$(SHARE_EXT)',
+ libparrot_soname =>
'-Wl,-soname=libparrot$(SHARE_EXT).$(SOVERSION)',
);
}