[MPlayer-dev-eng] [PATCH 6/6] configure: add ffmpeg header path to hostcflags

周晓勇 zhouxiaoyong at loongson.cn
Wed Sep 2 12:08:03 CEST 2015


>From 358654e4dbde4597706cc453e51cb984bf3b2a1c Mon Sep 17 00:00:00 2001
From: ZhouXiaoyong <zhouxiaoyong at loongson.cn>
Date: Thu, 20 Aug 2015 19:03:22 +0800
Subject: [PATCH 6/6] configure: add ffmpeg header path to hostcflags


Signed-off-by: ZhouXiaoyong <zhouxiaoyong at loongson.cn>
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


diff --git a/configure b/configure
index 6d7c829..ef6d226 100755
--- a/configure
+++ b/configure
@@ -2833,7 +2833,7 @@ else
 fi
 
 CFLAGS="-D_ISOC99_SOURCE -I. -Iffmpeg $CFLAGS"
-HOSTCFLAGS="-D_ISOC99_SOURCE -I. -Iffmpeg -O3"
+HOSTCFLAGS="-D_ISOC99_SOURCE -I. -Iffmpeg -I/usr/include/ffmpeg -O3"
 
 # On glibc, add some more CPPFLAGS for enabling required functionality.
 cpp_condition_check features.h "defined __GLIBC__" &&
-- 
2.1.4



More information about the MPlayer-dev-eng mailing list