Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
VideoLAN
VLC-Android
Commits
ab2cbc03
Commit
ab2cbc03
authored
Oct 07, 2016
by
Thomas Guillem
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: move toolchain hacks before building contribs
parent
da1c2026
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
8 deletions
+11
-8
compile-libvlc.sh
compile-libvlc.sh
+11
-8
No files found.
compile-libvlc.sh
View file @
ab2cbc03
...
...
@@ -306,6 +306,17 @@ then
echo
"make_standalone_toolchain.py failed"
exit
1
fi
# don't use the dummy uchar.c
cp
${
ANDROID_NDK
}
/platforms/android-21/arch-
${
PLATFORM_SHORT_ARCH
}
/usr/include/uchar.h
\
${
NDK_TOOLCHAIN_DIR
}
/sysroot/usr/local/include
# Don't mess up nl_langinfo() detection since this symbol is not present for 64
# bits
if
[
"
${
HAVE_64
}
"
=
1
]
;
then
rm
-f
${
NDK_TOOLCHAIN_DIR
}
/sysroot/usr/local/include/langinfo.h
fi
if
[
!
-z
"
${
NDK_FORCE_ARG
}
"
]
;
then
cp
"
$ANDROID_NDK
/source.properties"
"
${
NDK_TOOLCHAIN_PROPS
}
"
fi
...
...
@@ -527,14 +538,6 @@ else
VLC_LDFLAGS
=
"
${
VLC_LDFLAGS
}
-L
${
NDK_LIB_DIR
}
-landroid_support"
fi
cp
${
ANDROID_NDK
}
/platforms/android-21/arch-
${
PLATFORM_SHORT_ARCH
}
/usr/include/uchar.h
\
${
NDK_TOOLCHAIN_DIR
}
/sysroot/usr/local/include
if
[
"
${
HAVE_64
}
"
=
1
]
;
then
# Don't mess up nl_langinfo() detection since this symbol is not present
# for 64 bits
rm
-f
${
NDK_TOOLCHAIN_DIR
}
/sysroot/usr/local/include/langinfo.h
fi
if
[
!
-e
./config.h
-o
"
$RELEASE
"
=
1
]
;
then
CPPFLAGS
=
"
${
CONTRIB_INCLUDES
}
"
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment