[Android] build: fix symbols conflict name

Thomas Guillem git at videolan.org
Tue May 26 13:58:32 CEST 2015


vlc-ports/android | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue May 26 13:50:26 2015 +0200| [08a6e1b7b0131de694140993cd69c70133a320cf] | committer: Thomas Guillem

build: fix symbols conflict name

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=08a6e1b7b0131de694140993cd69c70133a320cf
---

 compile-libvlc.sh |   12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/compile-libvlc.sh b/compile-libvlc.sh
index 12a593b..7ef3268 100755
--- a/compile-libvlc.sh
+++ b/compile-libvlc.sh
@@ -587,11 +587,21 @@ for file in $VLC_MODULES; do
     name=`echo $file | sed 's/.*\.libs\/lib//' | sed 's/_plugin\.a//'`;
     symbols=$("${CROSS_COMPILE}nm" -g $file)
 
-    # assure that all modules have differents entry symbols
+    # assure that all modules have differents symbol names
     entry=$(get_symbol "$symbols" _)
     copyright=$(get_symbol "$symbols" copyright)
     license=$(get_symbol "$symbols" license)
     cat <<EOF > ${REDIFINED_VLC_MODULES_DIR}/syms
+AccessOpen AccessOpen__$name
+AccessClose AccessClose__$name
+StreamOpen StreamOpen__$name
+StreamClose StreamClose__$name
+DemuxOpen DemuxOpen__$name
+DemuxClose DemuxClose__$name
+OpenFilter OpenFilter__$name
+CloseFilter CloseFilter__$name
+Open Open__$name
+Close Close__$name
 $entry vlc_entry__$name
 $copyright vlc_entry_copyright__$name
 $license vlc_entry_license__$name



More information about the Android mailing list