Commit fd50238b authored by Thomas Guillem's avatar Thomas Guillem

MVK: fix armv7s only build

parent 26ea13b0
......@@ -836,7 +836,11 @@ build_universal_static_lib() {
if [ "$OSSTYLE" != "AppleTV" -a \
\( "$FARCH" = "all" -o "$FARCH" = "armv7" -o "$FARCH" = "armv7s" \) ]; then
# collect ARMv7/s specific neon modules
spushd armv7/lib/vlc/plugins
if [ "$FARCH" = "all" ];then
spushd armv7/lib/vlc/plugins
else
spushd $FARCH/lib/vlc/plugins
fi
for i in `ls *.a | grep neon`
do
VLCNEONMODULES="$i $VLCNEONMODULES"
......@@ -940,7 +944,7 @@ build_universal_static_lib() {
DEFINITIONS+="#ifdef __arm__\n"
for file in $VLCNEONMODULES
do
symbols=$(nm -g -arch armv7 install-$OSSTYLE/plugins/$file)
symbols=$(nm -g -arch $actual_arch install-$OSSTYLE/plugins/$file)
entryname=$(get_symbol "$symbols" _)
DEFINITIONS+="int $entryname (int (*)(void *, void *, int, ...), void *);\n";
BUILTINS+=" $entryname,\n"
......
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