Commit 33b447a5 authored by Rémi Denis-Courmont's avatar 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.
parent b3252c12
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment