Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mediastreamer2
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
External Wiki
External Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
BC
public
mediastreamer2
Commits
4cee8324
Commit
4cee8324
authored
Feb 19, 2012
by
jehan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
enable relative prefix for plugin loading
parent
49ff8673
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
configure.ac
configure.ac
+10
-2
mscommon.c
src/mscommon.c
+1
-1
No files found.
configure.ac
View file @
4cee8324
...
...
@@ -593,6 +593,13 @@ fi
dnl check various things
AC_FUNC_ALLOCA
AC_ARG_ENABLE(relativeprefix,
[ --enable-relativeprefix Build a linphone that finds its resources relatively to the directory where it is installed],
[case "${enableval}" in
yes) relativeprefix=yes ;;
no) relativeprefix=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-relativeprefix) ;;
esac],[relativeprefix=guess])
if test "x${prefix}" = "xNONE"; then
package_prefix=${ac_default_prefix}
...
...
@@ -601,11 +608,12 @@ else
fi
PACKAGE_PLUGINS_DIR="\$(libdir)/mediastreamer/plugins"
if test x$mingw_found = xyes ; then
if test x$mingw_found = xyes
|| test x$relativeprefix = xyes
; then
package_prefix="."
PACKAGE_PLUGINS_DIR="./lib/mediastreamer/plugins"
else
PACKAGE_PLUGINS_DIR="\$(libdir)/mediastreamer/plugins"
fi
dnl define path of plugins:
...
...
src/mscommon.c
View file @
4cee8324
...
...
@@ -650,7 +650,7 @@ void ms_init(){
#endif
#endif
#ifdef PACKAGE_PLUGINS_DIR
ms_message
(
"Loading
plugins"
);
ms_message
(
"Loading
ms plugins fron [%s]"
,
PACKAGE_PLUGINS_DIR
);
ms_load_plugins
(
PACKAGE_PLUGINS_DIR
);
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment