summaryrefslogtreecommitdiff
path: root/ext/SDBM_File/Makefile.PL
diff options
context:
space:
mode:
Diffstat (limited to 'ext/SDBM_File/Makefile.PL')
-rw-r--r--ext/SDBM_File/Makefile.PL4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/SDBM_File/Makefile.PL b/ext/SDBM_File/Makefile.PL
index 210879f90b..02dfd7d84f 100644
--- a/ext/SDBM_File/Makefile.PL
+++ b/ext/SDBM_File/Makefile.PL
@@ -5,11 +5,11 @@ use ExtUtils::MakeMaker;
# config, all, clean, realclean and sdbm/Makefile
# which perform the corresponding actions in the subdirectory.
-$define = ($^O eq 'MSWin32') ? '/D "MSDOS"' : '';
+$define = ($^O eq 'MSWin32') ? '-DMSDOS' : '';
WriteMakefile(
NAME => 'SDBM_File',
- MYEXTLIB => 'sdbm/libsdbm$(LIB_EXT)',
+ MYEXTLIB => 'sdbm'.($^O eq 'MSWin32' ? '\\' : '/').'libsdbm$(LIB_EXT)',
MAN3PODS => ' ', # Pods will be built by installman.
XSPROTOARG => '-noprototypes', # XXX remove later?
VERSION_FROM => 'SDBM_File.pm',