This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
The linux hints file should only look for -lgdbm_compat if -lgdbm is wanted.
authorNicholas Clark <nick@ccl4.org>
Wed, 19 Mar 2014 10:30:07 +0000 (11:30 +0100)
committerNicholas Clark <nick@ccl4.org>
Thu, 20 Mar 2014 14:46:08 +0000 (15:46 +0100)
commita5dbacf870d1302d609ce1aa791d9bf35e3d443b
tree65582f4219e01b0bc97b38bfa3984fa9c8fd9140
parent87a7cbadd8678833337412bca174d352a90db6d4
The linux hints file should only look for -lgdbm_compat if -lgdbm is wanted.

Previously they would unconditionally add gdbm_compat to the list of wanted
libraries. This is unhelpful if the user has passed Configure arguments to
constrain the library search to avoid libgdbm.so, because Configure would
still end up finding libgdbm_compat.so, which at best is not useful without
libgdbm.so, and at worse could have the same problems that caused the
user to avoid libgdbm.so (eg not compatible with the current compiler flags)
hints/linux.sh