summaryrefslogtreecommitdiff
path: root/ext/DB_File/Makefile.PL
diff options
context:
space:
mode:
authorPaul Marquess <paul.marquess@btinternet.com>1997-12-16 22:25:29 +0000
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-12-17 13:18:34 +0000
commit1f70e1ea8280242937e42514e140f4e467e09404 (patch)
tree3057ccd04eb28e46b931edf3649652aca21738fc /ext/DB_File/Makefile.PL
parentdd96f567babd77c258fd51112ff376f11f0b32ac (diff)
downloadperl-1f70e1ea8280242937e42514e140f4e467e09404.tar.gz
Upgrade DB_File to 1.56:
Subject: DB_File-1.56 for _55 p4raw-id: //depot/perl@372
Diffstat (limited to 'ext/DB_File/Makefile.PL')
-rw-r--r--ext/DB_File/Makefile.PL6
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/DB_File/Makefile.PL b/ext/DB_File/Makefile.PL
index 39b8bc7030..dbe19f1774 100644
--- a/ext/DB_File/Makefile.PL
+++ b/ext/DB_File/Makefile.PL
@@ -4,9 +4,13 @@ use Config ;
# OS2 is a special case, so check for it now.
my $OS2 = "-DOS2" if $Config{'osname'} eq 'os2' ;
+my $LIB = "-ldb" ;
+# so is win32
+$LIB = "-llibdb" if $^O eq 'MSWin32' ;
+
WriteMakefile(
NAME => 'DB_File',
- LIBS => ["-L/usr/local/lib -ldb"],
+ LIBS => ["-L/usr/local/lib $LIB"],
MAN3PODS => ' ', # Pods will be built by installman.
#INC => '-I/usr/local/include',
VERSION_FROM => 'DB_File.pm',