contrib: build static PIC libraries for Maemo 5
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 29 Aug 2009 14:08:27 +0000 (17:08 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 29 Aug 2009 15:40:20 +0000 (18:40 +0300)
extras/contrib/src/Makefile

index 57bad21..4517bb8 100644 (file)
@@ -162,6 +162,11 @@ FFMPEGCONF+= --enable-libamr-nb --enable-libamr-wb --enable-nonfree
 endif
 
 ifdef HAVE_LINUX
+ifdef HAVE_MAEMO
+# Really, this could be done on all Linux platforms, not just Maemo.
+# Installing statically-linked VLC plugins is so much simpler.
+HOSTCONF += --with-pic --disable-shared
+endif
 X264CONF += --enable-pic
 endif