[SCM] libav/experimental: Use SLIBSUF instead of .so, as a more generic dynamic library suffix.
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 17:16:53 UTC 2013
The following commit has been merged in the experimental branch:
commit 524aae862574cfed0656fd9789edaa66b0817739
Author: Víctor Paesa <victorpaesa at googlemail.com>
Date: Sun Oct 3 09:49:36 2010 +0000
Use SLIBSUF instead of .so, as a more generic dynamic library suffix.
Originally committed as revision 25321 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/configure b/configure
index 21ea161..cfd26f9 100755
--- a/configure
+++ b/configure
@@ -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" &&
diff --git a/libavfilter/vf_frei0r.c b/libavfilter/vf_frei0r.c
index 1303b03..9ff325f 100644
--- a/libavfilter/vf_frei0r.c
+++ b/libavfilter/vf_frei0r.c
@@ -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);
}
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list