Skip to content

Commit

Permalink
do not use deprecated thing
Browse files Browse the repository at this point in the history
  • Loading branch information
tokuhirom committed Oct 28, 2009
1 parent 7d42440 commit f1c8910
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion t/010_simple/Makefile.PL
Expand Up @@ -7,5 +7,5 @@ my $env = env_for_c(CPPPATH => ['picoev/', 'picohttpparser/']);
$env->enable_warnings();
$env->program('hello' => ["hello.c"]);

WriteMakefileForC();
WriteMakefile();

2 changes: 1 addition & 1 deletion t/020_shared_lib/Makefile.PL
Expand Up @@ -7,5 +7,5 @@ my $env = env_for_c();
$env->shared_library( 'hi' => ["hi.c"] );
$env->program( 'main' => ["main.c"], LIBS => ['hi'], LIBPATH => ['.'] );

WriteMakefileForC();
WriteMakefile();

2 changes: 1 addition & 1 deletion t/030_static_lib/Makefile.PL
Expand Up @@ -7,5 +7,5 @@ my $env = env_for_c();
$env->static_library( 'hi' => ["hi.c"] );
$env->program( 'main' => ["main.c"], LIBS => ['hi'], LIBPATH => ['.'] );

WriteMakefileForC();
WriteMakefile();

2 changes: 1 addition & 1 deletion t/040_cxx/Makefile.PL
Expand Up @@ -6,5 +6,5 @@ license 'perl';
my $env = env_for_c();
$env->program('main' => ["main.cc"]);

WriteMakefileForC();
WriteMakefile();

2 changes: 1 addition & 1 deletion t/050_tcc/Makefile.PL
Expand Up @@ -6,5 +6,5 @@ license 'perl';
my $env = env_for_c(CC => 'tcc');
$env->program('main' => ["main.c"]);

WriteMakefileForC();
WriteMakefile();

2 changes: 1 addition & 1 deletion t/060_configure/Makefile.PL
Expand Up @@ -6,5 +6,5 @@ license 'perl';
my $env = env_for_c(CPPPATH => ['picoev/', 'picohttpparser/']);
$env->program('hello' => ["hello.c"]);

WriteMakefileForC();
WriteMakefile();

2 changes: 1 addition & 1 deletion t/070_install/Makefile.PL
Expand Up @@ -8,4 +8,4 @@ my $env = env_for_c(PREFIX => './local/');
$env->install_bin($env->program('hello', 'hello.c'));
$env->install_lib($env->shared_library('hello', 'hello.c'));

WriteMakefileForC();
WriteMakefile();
2 changes: 1 addition & 1 deletion t/090_dist/Makefile.PL
Expand Up @@ -3,4 +3,4 @@ name('test');
version(0.01);
license 'perl';

WriteMakefileForC();
WriteMakefile();
2 changes: 1 addition & 1 deletion t/100_dist_noconf/Makefile.PL
@@ -1,4 +1,4 @@
use inc::Module::Install;
license 'perl';

WriteMakefileForC();
WriteMakefile();
2 changes: 1 addition & 1 deletion t/110_test/Makefile.PL
Expand Up @@ -6,5 +6,5 @@ my $test = $env->test('t/01_simple', 't/01_simple.c');

tests('t/*.t');

WriteMakefileForC();
WriteMakefile();

2 changes: 1 addition & 1 deletion t/120_disttest/Makefile.PL
Expand Up @@ -11,4 +11,4 @@ my $test = $env->test('t/01_simple', 't/01_simple.c');

tests('t/*.t');

WriteMakefileForC();
WriteMakefile();
2 changes: 1 addition & 1 deletion t/140_clib/Makefile.PL
Expand Up @@ -9,5 +9,5 @@ makemaker_args(
INSTALLARCHLIB => './inst/',
);

WriteMakefileForC();
WriteMakefile();

0 comments on commit f1c8910

Please sign in to comment.