Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
93baedd3
Commit
93baedd3
authored
Mar 10, 2011
by
ivoire
Browse files
Android contribs: accept extra CPPFLAG, CFLAGS and LDFLAGS.
Should fix #4561, thanks to stiger
parent
15d3cb86
Changes
1
Hide whitespace changes
Inline
Side-by-side
extras/contrib/src/Distributions/android.mak
View file @
93baedd3
...
...
@@ -11,6 +11,5 @@ all: .zlib \
ANDROID_INCLUDE
=
$(ANDROID_NDK)
/platforms/android-9/arch-arm/usr/include
ANDROID_LIB
=
$(ANDROID_NDK)
/platforms/android-9/arch-arm/usr/lib
EXTRA_CPPFLAGS
=
-I
$(ANDROID_INCLUDE)
EXTRA_LDFLAGS
=
-Wl
,-rpath-link
=
$(ANDROID_LIB)
,-Bdynamic,-dynamic-linker
=
/system/bin/linker
-Wl
,--no-undefined
-Wl
,-shared
-L
$(ANDROID_LIB)
EXTRA_CFLAGS
=
EXTRA_CPPFLAGS
+=
-I
$(ANDROID_INCLUDE)
EXTRA_LDFLAGS
+=
-Wl
,-rpath-link
=
$(ANDROID_LIB)
,-Bdynamic,-dynamic-linker
=
/system/bin/linker
-Wl
,--no-undefined
-Wl
,-shared
-L
$(ANDROID_LIB)
Write
Preview
Supports
Markdown
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