Commit e3a50ec4 authored by Simon Morlat's avatar Simon Morlat

fix path of plugin (lib64 on RHEL5)

parent 4c074d45
......@@ -571,13 +571,16 @@ else
package_prefix=${prefix}
fi
PACKAGE_PLUGINS_DIR="\$(libdir)/mediastreamer/plugins"
if test x$mingw_found = xyes ; then
package_prefix="."
PACKAGE_PLUGINS_DIR="./lib/mediastreamer/plugins"
fi
dnl define path of plugins:
AC_DEFINE_UNQUOTED(PACKAGE_PLUGINS_DIR, "${package_prefix}/lib/mediastreamer/plugins" ,[path of plugins])
PACKAGE_PLUGINS_DIR="${package_prefix}/lib/mediastreamer/plugins"
AC_SUBST(PACKAGE_PLUGINS_DIR)
PACKAGE_DATA_DIR="$prefix/share"
......
......@@ -197,7 +197,8 @@ AM_CFLAGS= -I$(top_srcdir) \
$(SPEEX_CFLAGS) \
$(GSM_CFLAGS) \
$(STRICT_OPTIONS) \
$(LIBPULSE_CFLAGS)
$(LIBPULSE_CFLAGS) \
-DPACKAGE_PLUGINS_DIR=\"$(PACKAGE_PLUGINS_DIR)\"
AM_CXXFLAGS= -I$(top_srcdir) \
$(ORTP_CFLAGS) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment