提交 e3bae776 authored 作者: Travis Cross's avatar Travis Cross

Fix FHS default modulesdir define

The default value of libdir is (unexpanded) '${exec_prefix}/lib'.  In
the non-FHS path this is fine because it only ends up in a variable
where it will be expanded later.  By using this to define modulesdir
we let it slip into a define where it made no sense.
上级 80b6ce97
...@@ -60,7 +60,8 @@ default_soundsdir="$prefix/sounds" ...@@ -60,7 +60,8 @@ default_soundsdir="$prefix/sounds"
default_storagedir="$prefix/storage" default_storagedir="$prefix/storage"
if test "$enable_fhs" = yes; then if test "$enable_fhs" = yes; then
prefix="/usr" prefix="/usr" exec_prefix="$prefix"
libdir="$(eval echo "$libdir")"
sysconfdir="/etc/freeswitch" sysconfdir="/etc/freeswitch"
localstatedir="/var" localstatedir="/var"
default_dbdir="/var/lib/freeswitch/db" default_dbdir="/var/lib/freeswitch/db"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论