termux-packages/packages/mplayer/configure.patch

12 lines
369 B
Diff

--- a/configure
+++ b/configure
@@ -2861,7 +2861,7 @@
fi
CFLAGS="-D_ISOC99_SOURCE -I. -Iffmpeg $CFLAGS"
-HOSTCFLAGS="-D_ISOC99_SOURCE -I. -Iffmpeg -O3"
+HOSTCFLAGS="-D_ISOC99_SOURCE -I. -Iffmpeg -idirafter @TERMUX_PREFIX@/include -O3"
# On glibc, add some more CPPFLAGS for enabling required functionality.
cpp_condition_check features.h "defined __GLIBC__" &&