Commit 33b447a5 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

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
(cd $<; $(HOSTCC) ./configure --disable-png --disable-shared $(HOSTCONF) --prefix=$(PREFIX) CFLAGS="$(CFLAGS) -O3" && make && make install)
(cd $<; $(HOSTCC) ./configure --disable-png $(HOSTCONF) --prefix=$(PREFIX) CFLAGS="$(CFLAGS) -O3" && make && make install)
touch $@
CLEAN_FILE += .libass
Supports Markdown
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