[FFmpeg-devel] [PATCH] Enable native build on QNX/x86

Mans Rullgard mans
Sun Jan 30 02:50:49 CET 2011


---
 configure |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/configure b/configure
index 94993d7..46f4e44 100755
--- a/configure
+++ b/configure
@@ -2109,7 +2109,7 @@ case "$arch" in
         arch="sparc"
         subarch="sparc64"
     ;;
-    i[3-6]86|i86pc|BePC|x86_64|amd64)
+    i[3-6]86|i86pc|BePC|x86pc|x86_64|amd64)
         arch="x86"
     ;;
 esac
@@ -2446,6 +2446,10 @@ case $target_os in
         ;;
     gnu)
         ;;
+    qnx)
+        add_cppflags -D_QNX_SOURCE
+        network_extralibs="-lsocket"
+        ;;
     none)
         ;;
     *)
-- 
1.7.3.5




More information about the ffmpeg-devel mailing list