[vlc-devel] commit: contrib: build static PIC libraries for Maemo 5 ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sat Aug 29 17:40:51 CEST 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Aug 29 17:08:27 2009 +0300| [7a33ca7094c369b85bd83ee85208396b92b7f098] | committer: Rémi Denis-Courmont
contrib: build static PIC libraries for Maemo 5
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7a33ca7094c369b85bd83ee85208396b92b7f098
---
extras/contrib/src/Makefile | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/extras/contrib/src/Makefile b/extras/contrib/src/Makefile
index 57bad21..4517bb8 100644
--- a/extras/contrib/src/Makefile
+++ b/extras/contrib/src/Makefile
@@ -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
More information about the vlc-devel
mailing list