Browse Source

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

Originally committed as revision 25321 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/n0.8
Víctor Paesa 15 years ago
parent
commit
524aae8625
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      configure
  2. +1
    -1
      libavfilter/vf_frei0r.c

+ 1
- 0
configure View File

@@ -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" &&


+ 1
- 1
libavfilter/vf_frei0r.c View File

@@ -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);
}


Loading…
Cancel
Save