termux-packages/x11-packages/vlc-qt/src-Makefile.am.patch

25 lines
472 B
Diff
Raw Normal View History

--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -405,11 +405,20 @@
if HAVE_ANDROID
libvlccore_la_SOURCES += \
android/error.c \
- android/specific.c \
android/thread.c \
linux/cpu.c \
linux/dirs.c \
linux/thread.c
+if HAVE_ANDROID_NO_TERMUX
+libvlccore_la_SOURCES += \
+ android/specific.c
+else
+libvlccore_la_SOURCES += \
+ posix/dirs.c \
+ posix/getaddrinfo.c \
+ posix/netconf.c \
+ posix/specific.c
+endif
else
if HAVE_DARWIN
libvlccore_la_SOURCES += \