SuSE 8.0 at least needs hints to use -lgdbm for ODBM_File
Nick Ing-Simmons [Tue, 9 Jul 2002 08:01:54 +0000 (08:01 +0000)]
p4raw-id: //depot/perlio@17431

MANIFEST
ext/ODBM_File/hints/linux.pl [new file with mode: 0644]

index d34bb41..00f57b9 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -509,6 +509,7 @@ ext/NDBM_File/typemap               NDBM extension interface types
 ext/ODBM_File/hints/cygwin.pl  Hint for ODBM_File for named architecture
 ext/ODBM_File/hints/dec_osf.pl Hint for ODBM_File for named architecture
 ext/ODBM_File/hints/hpux.pl    Hint for ODBM_File for named architecture
+ext/ODBM_File/hints/linux.pl   Hint for NDBM_File for named architecture
 ext/ODBM_File/hints/sco.pl     Hint for ODBM_File for named architecture
 ext/ODBM_File/hints/solaris.pl Hint for ODBM_File for named architecture
 ext/ODBM_File/hints/svr4.pl    Hint for ODBM_File for named architecture
@@ -2823,3 +2824,4 @@ x2p/util.h                        Public declarations for the above
 x2p/walk.c                     Parse tree walker
 XSUB.h                         Include file for extension subroutines
 xsutils.c                      Additional bundled package methods not in UNIVERSAL::
+
diff --git a/ext/ODBM_File/hints/linux.pl b/ext/ODBM_File/hints/linux.pl
new file mode 100644 (file)
index 0000000..29f0688
--- /dev/null
@@ -0,0 +1,3 @@
+# uses GDBM dbm compatibility feature - at least on SuSE 8.0
+$self->{LIBS} = ['-lgdbm'];
+