File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,9 @@ elif host_system == 'windows'
9191elif host_system == ' linux'
9292 plugin_sources += [ opengl_sources_base, egl_sources ]
9393elif host_system == ' android'
94+ if get_option (' static_android' )
95+ vlc_unity_ldflags += [ ' -static-libstdc++' ]
96+ endif
9497 vlc_unity_deps += [ cc.find_library (' GLESv2' ), cc.find_library (' EGL' ), cc.find_library (' log' ) ]
9598 vlc_unity_cppflags += [ ' -DSUPPORT_OPENGL_ES=1' , ' -DUNITY_ANDROID=1' ]
9699 plugin_sources += [ opengl_sources_base, android_sources, egl_sources ]
Original file line number Diff line number Diff line change @@ -2,3 +2,8 @@ option('watermark',
22 type : ' boolean' ,
33 value : false ,
44 description : ' Display the Videolabs watermark' )
5+
6+ option (' static_android' ,
7+ type : ' boolean' ,
8+ value : false ,
9+ description : ' Enable or disable static Android build' )
You can’t perform that action at this time.
0 commit comments