From d05e069bd403e8fc7434fffa5dc2b977fc4e099d Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Fri, 17 Jan 2014 21:09:03 +0000 Subject: [PATCH] Fix modperl build on MacOS X .so is not the right extension for shared objects there --- modules/modperl/Makefile.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/modperl/Makefile.inc b/modules/modperl/Makefile.inc index 770c855b..66ece596 100644 --- a/modules/modperl/Makefile.inc +++ b/modules/modperl/Makefile.inc @@ -9,16 +9,15 @@ PERL_CXX += -Wno-write-strings -Wno-redundant-decls -Wno-missing-declarations PERL_CXX += -Wno-type-limits -Wno-sign-compare -Wno-strict-overflow -Wno-unused-value # This is for SWIG PERL_CXX += -DSWIG_TYPE_TABLE=znc +PERLCEXT_EXT := $(shell $(PERL) -MConfig -e'print $$Config::Config{dlext}') modperlCXXFLAGS := $(PERL_CXX) -Wno-unused-function modperlLDFLAGS := $(PERL_LD) # Find additional headers for out-of-tree build modperlCXXFLAGS += -I. ifeq "$(ISCYGWIN)" "1" -PERLCEXT_EXT := dll PERLDEPONMOD := modperl.so else -PERLCEXT_EXT := so PERLDEPONMOD := endif