fixes and changes to Makefile for more generality
[goodguy/cinelerra.git] / cinelerra-5.1 / libzmpeg3 / Makefile
index aeade023cd978bcc2238ef28d39787678d6d90b5..c5b8a083d37ac3ebd173b1d83bd19c89a027bd24 100644 (file)
@@ -79,8 +79,14 @@ 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)
+LIBS += $(lib_a52dec) $(lib_djbfft) $(lib_libbthread)
 
 ifeq ($(DYNAMIC_FONTS), 1)
 LIBS += -lX11