summaryrefslogtreecommitdiff
path: root/ext/Sys/Syslog/Makefile.PL
diff options
context:
space:
mode:
Diffstat (limited to 'ext/Sys/Syslog/Makefile.PL')
-rw-r--r--ext/Sys/Syslog/Makefile.PL5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/Sys/Syslog/Makefile.PL b/ext/Sys/Syslog/Makefile.PL
index 3cb0c64b4a..c78408da5c 100644
--- a/ext/Sys/Syslog/Makefile.PL
+++ b/ext/Sys/Syslog/Makefile.PL
@@ -18,6 +18,11 @@ WriteMakefile(
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'Sys-Syslog-*' },
realclean => { FILES => 'const-c.inc const-xs.inc macros.all' },
+ (
+ (grep { $_ eq 'PERL_CORE=1' } @ARGV)
+ ? ()
+ : ('DEFINE' => '-DUSE_PPPORT_H')
+ ),
);
my $_PATH_LOG;