提交 2b307a0a authored 作者: Stanislav Sinyagin's avatar Stanislav Sinyagin

FS-5936 respect archlib in libesl-perl because it is different depending on distro

上级 23a1d37a
......@@ -1047,6 +1047,13 @@ genlang () {
test -f $f.tmpl && cat $f.tmpl >> $f
}
geninstall_perl () {
local archlib
eval `perl -V:archlib`
echo $archlib/ESL.\* >libesl-perl.install
echo $archlib/ESL/\*.\* >>libesl-perl.install
}
accumulate_mod_deps () {
local x=""
# build-depends
......@@ -1282,6 +1289,7 @@ echo "Generating debian/ (modules)..." >&2
map_modules "mod_filter" \
"gencontrol_per_cat" \
"gencontrol_per_mod geninstall_per_mod genoverrides_per_mod"
geninstall_perl
if [ ${use_sysvinit} = "true" ]; then
echo -n freeswitch-sysvinit >freeswitch-init.provided_by
......
usr/lib/*/perl/5.*/ESL.*
usr/lib/*/perl/5.*/ESL/*.*
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论