termux and bsd accomodations by Andrew
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / Makefile
index 65df2f4a391699b9b6bfb1110fb8948c6487ccfe..9f5f8afd27e2375bde0fb22517ca91da5019b727 100644 (file)
@@ -436,9 +436,11 @@ LIBS := $(LIBRARIES)
 ifeq ($(WANT_CIN_3RDPARTY),no)
 LIBS += -lavcodec -lavdevice -lavfilter -lavformat -lavutil
 LIBS += -lswresample -lswscale
+PLATFORM = $(shell uname -s)
+ifneq (, $(filter $(PLATFORM), FreeBSD NetBSD))
 LIBS += -lintl -liconv
 LIBS += -lexecinfo
-
+endif
 LIBS += $(shared_libs)
 LIBS += $(system_libs)
 else