Add DB_File hint for SCO ODT.
Mike Hopkirk [Tue, 12 Oct 1999 20:16:04 +0000 (13:16 -0700)]
To: perl5-porters@perl.org
Subject: [ID 19991012.004] Build patch for perl5.005_03 on ODT3 ( 3.2v4.2)
Message-Id: <199910122016.aa18415@charmstr.pdev.sco.com>

p4raw-id: //depot/cfgperl@4362

MANIFEST
ext/DB_File/hints/sco.pl [new file with mode: 0644]

index dd81a70..3c1b7a6 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -207,6 +207,7 @@ ext/DB_File/DB_File_BS              Berkeley DB extension mkbootstrap fodder
 ext/DB_File/Makefile.PL                Berkeley DB extension makefile writer
 ext/DB_File/dbinfo             Berkeley DB database version checker
 ext/DB_File/hints/dynixptx.pl  Hint for DB_File for named architecture
+ext/DB_File/hints/sco.pl       Hint for DB_File for named architecture
 ext/DB_File/typemap            Berkeley DB extension interface types
 ext/DB_File/version.c          Berkeley DB extension interface version check
 ext/Data/Dumper/Changes                Data pretty printer, changelog
diff --git a/ext/DB_File/hints/sco.pl b/ext/DB_File/hints/sco.pl
new file mode 100644 (file)
index 0000000..ff60440
--- /dev/null
@@ -0,0 +1,2 @@
+# osr5 needs to explicitly link against libc to pull in some static symbols
+$self->{LIBS} = ['-ldb -lc'] if $Config{'osvers'} =~ '3\.2v5\.0\..' ;