Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
VLC-Android
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ewout ter Hoeven
VLC-Android
Commits
4810f7d4
Commit
4810f7d4
authored
Oct 10, 2014
by
Thomas Guillem
Committed by
Jean-Baptiste Kempf
Oct 11, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: add android ndk fixup: fix x86 and android-L build
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
9a6d3d85
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
compile.sh
compile.sh
+17
-0
No files found.
compile.sh
View file @
4810f7d4
...
...
@@ -314,6 +314,23 @@ else
TARGET
=
fi
# ANDROID NDK FIXUP (BLAME GOOGLE)
config_undef
()
{
sed
-i
's,#define '
$1
' 1,/\* #undef '
$1
' \*/,'
config.h
}
if
[
${
ANDROID_ABI
}
=
"x86"
-a
${
ANDROID_API
}
!=
"android-L"
]
;
then
# NDK x86 libm.so has nanf symbol but no nanf definition, we don't known if
# intel devices has nanf. Assume they don't have it.
config_undef HAVE_NANF
fi
if
[
${
ANDROID_API
}
=
"android-L"
]
;
then
# android-L has empty sys/shm.h headers that triggers shm detection but it
# doesn't have any shm functions and/or symbols. */
config_undef HAVE_SYS_SHM_H
fi
echo
"Building"
make
$MAKEFLAGS
...
...
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