]> Dogcows Code - chaz/p5-File-KDBX-XS/blobdiff - Makefile.PL
add perl's bin directory to $PATH
[chaz/p5-File-KDBX-XS] / Makefile.PL
index 05b01e69c339d3c8183d394c7ea58f378047b780..21d5d608c1e0d8fd57aa8968ef18013971d794c0 100644 (file)
@@ -14,7 +14,7 @@ use ExtUtils::MakeMaker;
 my (@EUMM_INC_LIB, $myarflags, $mycflags);
 
 # use bundled libtomcrypt
-my @myobjs = map { /^(.*)\.c$/ ? "$1.$Config{obj_ext}" : () } qw(
+my @myobjs = map { /^(.*)\.c$/ ? "$1$Config{obj_ext}" : () } qw(
     libtomcrypt/src/ciphers/aes/aes.c
     libtomcrypt/src/misc/compare_testvector.c
     libtomcrypt/src/misc/crypt/crypt_argchk.c
@@ -56,6 +56,7 @@ $mycflags = "$mycflags -Wall -Werror -Wextra" if $ENV{AUTHOR_MODE};
                                                                 : '-DLTM_DESC -Ilibtomcrypt/src/headers',
     MYEXTLIB    => "libtomcrypt/libonlyaes$Config{lib_ext}",
     clean       => { FILES => join(' ', @myobjs, "libtomcrypt/libonlyaes$Config{lib_ext}") },
+    realclean   => { FILES => join(' ', qw{cover_db *.gcda *.gcno *.gcov})},
 );
 
 #FIX: https://github.com/DCIT/perl-CryptX/pull/79
@@ -93,7 +94,7 @@ sub MY::postamble {
 };
 
     $extra_targets = qq{
-\$(MYEXTLIB): libtomcrypt/Makefile
+\$(MYEXTLIB): libtomcrypt/Makefile.nmake
 \tcd libtomcrypt && \$(MAKE) -f Makefile.nmake CFLAGS="$mycflags"
 } if $^O eq 'MSWin32' && $Config{make} =~ /nmake/ && $Config{cc} =~ /cl/;
 
This page took 0.02284 seconds and 4 git commands to generate.