expand vaapi render formats and add shortcut
[goodguy/cinelerra.git] / cinelerra-5.1 / libzmpeg3 / Makefile
index 47a0596f445527bafae894549f0e33b2ebfa5618..7e96761fa571d265d1b915a53787d55e5fe41b4c 100644 (file)
@@ -79,11 +79,17 @@ UTILS += $(OBJDIR)/zmpeg3ifochk
 UTILS += $(OBJDIR)/zmpeg3cc2txt
 
 LIBS = -lm -lpthread
+ifeq ($(WANT_CIN_3RDPARTY),no)
+LIBS += -la52
+endif
+ifeq ($(shell uname -o), Android)
+LIBS += jpt.a
+endif
 
 LIBS += $(lib_a52dec) $(lib_djbfft) $(lib_libbthread)
 
 ifeq ($(DYNAMIC_FONTS), 1)
-LIBS += -lX11
+LIBS += -lX11 `pkg-config --libs x11`
 else
 CFLAGS += -DBUILTIN_FONT_DATA 
 OBJS += $(OBJDIR)/xfont1.o