xref: /openbsd-src/gnu/usr.bin/perl/ext/ODBM_File/hints/linux.pl (revision 898184e3e61f9129feb5978fad5a8c6865f00b92)
155745691Smillert# uses GDBM dbm compatibility feature - at least on SuSE 8.0
255745691Smillert$self->{LIBS} = ['-lgdbm'];
355745691Smillert
4*898184e3Ssthen# Debian/Ubuntu have libgdbm_compat.so but not this file,
5850e2753Smillert# so linking may fail
6*898184e3Ssthenforeach (split / /, $Config{libpth}) {
7*898184e3Ssthen    $self->{LIBS}->[0] .= ' -lgdbm_compat' if -e $_.'/libgdbm_compat.so';
8850e2753Smillert}
9