[vlc-devel] commit: Contribs: make libass static on all platforms ( Rémi Denis-Courmont )
git version control
git at videolan.org
Thu Feb 4 20:37:19 CET 2010
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Feb 4 21:36:03 2010 +0200| [33b447a55dd5ceaf0ad8f7343261af83ebea077d] | committer: Rémi Denis-Courmont
Contribs: make libass static on all platforms
We only link it once, so this is more efficient. This allows the build
-time linker to remove unused functions and the export table.
We could probably do the same with a few other libraries.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=33b447a55dd5ceaf0ad8f7343261af83ebea077d
---
extras/contrib/src/Makefile | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/extras/contrib/src/Makefile b/extras/contrib/src/Makefile
index d4048c6..95f1e31 100644
--- a/extras/contrib/src/Makefile
+++ b/extras/contrib/src/Makefile
@@ -2442,11 +2442,7 @@ libass:
(cd $@; autoreconf -ivf)
.libass: libass .freetype
-ifdef HAVE_DARWIN_OS
(cd $<; $(HOSTCC) ./configure --disable-png --disable-shared $(HOSTCONF) --prefix=$(PREFIX) CFLAGS="$(CFLAGS) -O3" && make && make install)
-else
- (cd $<; $(HOSTCC) ./configure --disable-png $(HOSTCONF) --prefix=$(PREFIX) CFLAGS="$(CFLAGS) -O3" && make && make install)
-endif
touch $@
CLEAN_FILE += .libass
More information about the vlc-devel
mailing list