termux-packages/packages/mplayer/configure.patch
2022-03-08 05:07:42 +09:00

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__" &&