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

25 lines
472 B
Diff
Raw Normal View History

2022-03-29 04:10:47 +02:00
--- 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 += \