提交 8cd69cc0 authored 作者: Michael Jerris's avatar Michael Jerris

fix perldir to at least point to install the same place as the code looks for…

fix perldir to at least point to install the same place as the code looks for it.  Note, on fhs type builds, where prefix is /usr, these files are going to go into /usr/perl, which probably isn't right, but thats where the code looks too, we should do something better for builds that are not in the prefix
上级 046df6be
......@@ -4,7 +4,7 @@ PERL = perl
PERL_LIBDIR =-L`perl -MConfig -e 'print $$Config{archlib}'`/CORE
PERL_LIBS =`perl -MConfig -e 'print $$Config{libs}'`
perldir=$(DESTDIR)$(prefix)/perl
perldir=$(prefix)/perl
mod_LTLIBRARIES = mod_perl.la
perl_LTLIBRARIES = freeswitch.la
mod_perl_la_SOURCES = mod_perl.c freeswitch_perl.cpp mod_perl_wrap.cpp perlxsi.c
......@@ -36,6 +36,6 @@ orig: mod_perl_wrap.cpp
@touch .perlok
install-data-local:
mkdir -p $(DESTDIR)$(prefix)/perl
$(INSTALL) freeswitch.pm $(DESTDIR)$(prefix)/perl
if [ ! -f $(DESTDIR)$(prefix)/perl/freeswitch.pm ] ; then $(INSTALL) freeswitch.pm $(DESTDIR)$(prefix)/perl ; fi
mkdir -p $(DESTDIR)$(perldir)
$(INSTALL) freeswitch.pm $(DESTDIR)$(perldir)
if [ ! -f $(DESTDIR)$(perldir)/freeswitch.pm ] ; then $(INSTALL) freeswitch.pm $(DESTDIR)$(perldir) ; fi
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论