Skip to content

Commit

Permalink
use ccflags used to compile perl
Browse files Browse the repository at this point in the history
fixes #3
  • Loading branch information
trinitum committed Dec 5, 2016
1 parent 479d916 commit bbe0a8e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile.PL
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
use 5.008;
use strict;
use warnings;
use Config;
use ExtUtils::MakeMaker 6.64;
use Alien::Librdkafka 0.9.1;

Expand All @@ -11,7 +12,7 @@ WriteMakefile(
VERSION_FROM => 'lib/Kafka/Librd.pm',
ABSTRACT_FROM => 'lib/Kafka/Librd.pm',
OBJECT => 'Rdkafka.o rdkafkaxs.o',
CCFLAGS => Alien::Librdkafka->cflags,
CCFLAGS => Alien::Librdkafka->cflags . " " . $Config{ccflags},
LIBS => Alien::Librdkafka->libs,
PL_FILES => {},
PREREQ_PM => {
Expand Down

0 comments on commit bbe0a8e

Please sign in to comment.