Selaa lähdekoodia

Apparently, the order of ffmpeg libraries on the linker command-line matters, when they are statically linked

rdb 16 vuotta sitten
vanhempi
sitoutus
fbc94e1b20
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2 1
      makepanda/makepanda.py

+ 2 - 1
makepanda/makepanda.py

@@ -412,8 +412,9 @@ if (COMPILER=="LINUX"):
         IncDirectory("GTK2", "/usr/lib64/glib-2.0/include")
         IncDirectory("GTK2", "/usr/lib64/gtk-2.0/include")
 
-    ffmpeg_libs = ("libavutil", "libavcodec", "libavformat")
     fcollada_libs = ("FColladaD", "FColladaSD")
+    # WARNING! The order of the ffmpeg libraries matters!
+    ffmpeg_libs = ("libavformat", "libavcodec", "libavutil")
 
     #         Name         pkg-config   libs, include(dir)s
     if (not RUNTIME):