mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 12:40:17 +00:00
fix mod_perl compile
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4718 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
323a4fe087
commit
25d6572f80
@ -3,18 +3,21 @@
|
|||||||
|
|
||||||
# and define these variables to impact your build
|
# and define these variables to impact your build
|
||||||
|
|
||||||
LOCAL_CFLAGS=-DMULTIPLICITY $(shell $(PERL) -MExtUtils::Embed -e ccopts) -DEMBED_PERL
|
PERL = `which perl`
|
||||||
|
PERL_LIBDIR =-L$(shell perl -MConfig -e 'print $$Config{archlib}')/CORE
|
||||||
|
PERL_LIBS =$(shell perl -MConfig -e 'print $$Config{libs}')
|
||||||
|
|
||||||
|
LOCAL_CFLAGS=-w -DMULTIPLICITY $(shell $(PERL) -MExtUtils::Embed -e ccopts) -DEMBED_PERL
|
||||||
LOCAL_LDFLAGS=$(shell $(PERL) -MExtUtils::Embed -e ldopts) $(shell $(PERL) -MConfig -e 'print $$Config{libs}')
|
LOCAL_LDFLAGS=$(shell $(PERL) -MExtUtils::Embed -e ldopts) $(shell $(PERL) -MConfig -e 'print $$Config{libs}')
|
||||||
LOCAL_OBJS=perlxsi.o
|
LOCAL_OBJS=perlxsi.o
|
||||||
include ../../../../build/modmake.rules
|
include ../../../../build/modmake.rules
|
||||||
|
|
||||||
PERL = $(shell which perl)
|
|
||||||
PERL_LIBDIR =-L$(shell perl -MConfig -e 'print $$Config{archlib}')/CORE
|
|
||||||
PERL_LIBS =$(shell perl -MConfig -e 'print $$Config{libs}')
|
|
||||||
|
|
||||||
SWIGCFILE=../../../switch_swig.c
|
SWIGCFILE=../../../switch_swig.c
|
||||||
SWIGIFILE=../../../switch_swig.i
|
SWIGIFILE=../../../switch_swig.i
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
local_all: fs_perl.$(DYNAMIC_LIB_EXTEN)
|
local_all: fs_perl.$(DYNAMIC_LIB_EXTEN)
|
||||||
|
|
||||||
.perlok:
|
.perlok:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user