From e7e4c2921236deaae673c7c3a3f3c646ca0988f0 Mon Sep 17 00:00:00 2001 From: Slaven Rezic Date: Sat, 4 Mar 2017 13:07:36 +0100 Subject: [PATCH] specify lib+inc path on Mac (https://github.com/creaktive/re-engine-tre/issues/4) This requires the "gettext" package to be installed via homebrew. --- Makefile.PL | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.PL b/Makefile.PL index 69551a5..a67b907 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -19,8 +19,9 @@ my %WriteMakefileArgs = ( "CONFIGURE_REQUIRES" => {}, "DISTNAME" => "re-engine-TRE", "EXE_FILES" => [], + "INC" => "-I/usr/local/opt/gettext/include", "LIBS" => [ - "-lintl" + "-L/usr/local/opt/gettext/lib -lintl" ], "LICENSE" => "perl", "NAME" => "re::engine::TRE", -- 2.1.2