Mercurial > hg > nginx
view src/http/modules/perl/Makefile.PL @ 4945:ae3ebf5ac8cd
Fixed build with embedded perl in certain setups (ticket #48).
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Mon, 03 Dec 2012 16:00:26 +0000 |
parents | 3b877a45d343 |
children | 482fda984556 |
line wrap: on
line source
# Copyright (C) Igor Sysoev # Copyright (C) Nginx, Inc. use 5.006001; use ExtUtils::MakeMaker; WriteMakefile( NAME => 'nginx', VERSION_FROM => 'nginx.pm', # finds $VERSION PREREQ_PM => {}, # e.g., Module::Name => 1.1 ABSTRACT_FROM => 'nginx.pm', # retrieve abstract from module AUTHOR => 'Igor Sysoev', CCFLAGS => "$ENV{NGX_PM_CFLAGS}", OPTIMIZE => '-O', INC => join(" ", map { m#^/# ? "-I $_" : "-I ../../../../../$_" } (split /\s+/, $ENV{NGX_INCS})), depend => { 'nginx.c' => "../../../../../src/http/modules/perl/ngx_http_perl_module.h" }, PM => { 'nginx.pm' => '$(INST_LIBDIR)/nginx.pm' } );