[Android] libvlc compilation: fix typo
Felix Paul Kühne
git at videolan.org
Wed Jul 8 18:16:37 CEST 2015
vlc-ports/android | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Wed Jul 8 18:15:56 2015 +0200| [f0bcab2208a23c33627856ce01a3d355cc086f72] | committer: Felix Paul Kühne
libvlc compilation: fix typo
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=f0bcab2208a23c33627856ce01a3d355cc086f72
---
compile-libvlc.sh | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/compile-libvlc.sh b/compile-libvlc.sh
index bb51ecf..83adbaf 100755
--- a/compile-libvlc.sh
+++ b/compile-libvlc.sh
@@ -555,9 +555,9 @@ cd $SRC_DIR
# libVLC modules #
##################
-REDIFINED_VLC_MODULES_DIR=$SRC_DIR/.modules/${VLC_BUILD_DIR}
-rm -rf ${REDIFINED_VLC_MODULES_DIR}
-mkdir -p ${REDIFINED_VLC_MODULES_DIR}
+REDEFINED_VLC_MODULES_DIR=$SRC_DIR/.modules/${VLC_BUILD_DIR}
+rm -rf ${REDEFINED_VLC_MODULES_DIR}
+mkdir -p ${REDEFINED_VLC_MODULES_DIR}
echo "Generating static module list"
blacklist_regexp=
@@ -585,7 +585,7 @@ VLC_MODULES=$(find_modules vlc/$VLC_BUILD_DIR/modules)
DEFINITION="";
BUILTINS="const void *vlc_static_modules[] = {\n";
for file in $VLC_MODULES; do
- outfile=${REDIFINED_VLC_MODULES_DIR}/`basename $file`
+ outfile=${REDEFINED_VLC_MODULES_DIR}/`basename $file`
name=`echo $file | sed 's/.*\.libs\/lib//' | sed 's/_plugin\.a//'`;
symbols=$("${CROSS_COMPILE}nm" -g $file)
@@ -593,7 +593,7 @@ for file in $VLC_MODULES; do
entry=$(get_symbol "$symbols" _)
copyright=$(get_symbol "$symbols" copyright)
license=$(get_symbol "$symbols" license)
- cat <<EOF > ${REDIFINED_VLC_MODULES_DIR}/syms
+ cat <<EOF > ${REDEFINED_VLC_MODULES_DIR}/syms
AccessOpen AccessOpen__$name
AccessClose AccessClose__$name
StreamOpen StreamOpen__$name
@@ -608,7 +608,7 @@ $entry vlc_entry__$name
$copyright vlc_entry_copyright__$name
$license vlc_entry_license__$name
EOF
- ${CROSS_COMPILE}objcopy --redefine-syms ${REDIFINED_VLC_MODULES_DIR}/syms $file $outfile
+ ${CROSS_COMPILE}objcopy --redefine-syms ${REDEFINED_VLC_MODULES_DIR}/syms $file $outfile
checkfail "objcopy failed"
DEFINITION=$DEFINITION"int vlc_entry__$name (int (*)(void *, void *, int, ...), void *);\n";
@@ -616,14 +616,14 @@ EOF
done;
BUILTINS="$BUILTINS NULL\n};\n"; \
printf "/* Autogenerated from the list of modules */\n$DEFINITION\n$BUILTINS\n" > libvlc/jni/libvlcjni-modules.h
-rm ${REDIFINED_VLC_MODULES_DIR}/syms
+rm ${REDEFINED_VLC_MODULES_DIR}/syms
###############################
# NDK-Build for libvlcjni.so #
###############################
LIBVLC_LIBS="libvlcjni"
-VLC_MODULES=$(find_modules ${REDIFINED_VLC_MODULES_DIR})
+VLC_MODULES=$(find_modules ${REDEFINED_VLC_MODULES_DIR})
VLC_SRC_DIR="$SRC_DIR/vlc"
ANDROID_SYS_HEADERS="$SRC_DIR/android-headers"
VLC_CONTRIB="$VLC_SRC_DIR/contrib/$TARGET_TUPLE"
More information about the Android
mailing list