Commit 524aae86 authored by Víctor Paesa's avatar Víctor Paesa
Browse files

Use SLIBSUF instead of .so, as a more generic dynamic library suffix.

Originally committed as revision 25321 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 12eef0d1
......@@ -3223,6 +3223,7 @@ cat > $TMPH <<EOF
#define ASMALIGN(ZEROBITS) ".p2align " #ZEROBITS "\\n\\t"
#define EXTERN_PREFIX "${extern_prefix}"
#define EXTERN_ASM ${extern_prefix}
#define SLIBSUF "$SLIBSUF"
EOF
test -n "$malloc_prefix" &&
......
......@@ -192,7 +192,7 @@ static void *load_path(AVFilterContext *ctx, const char *prefix, const char *nam
{
char path[1024];
snprintf(path, sizeof(path), "%s%s.so", prefix, name);
snprintf(path, sizeof(path), "%s%s%s", prefix, name, SLIBSUF);
av_log(ctx, AV_LOG_DEBUG, "Looking for frei0r effect in '%s'\n", path);
return dlopen(path, RTLD_NOW|RTLD_LOCAL);
}
......
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