From d4a7a6e7fa18be96f97f9f316c632b8e93118ed8 Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Sun, 16 Apr 2023 13:39:27 +0200 Subject: [PATCH] examples: fix build of mux and resample_audio The commits eac4324bfbe452f0292b48b2f1dc37b5052ec0be and cd8211527efbb9cad19db1c0d033da0749836e43 renamed the examples, but the targets were not updated. Hence, the builds are missing -lm. Signed-off-by: Sebastian Ramacher Signed-off-by: James Almer (cherry picked from commit 7de3fcb059376f50268aa1d0e7b9f98a440c1529) --- doc/examples/Makefile.example | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/examples/Makefile.example b/doc/examples/Makefile.example index 01712f42d9..dee9ebf2f0 100644 --- a/doc/examples/Makefile.example +++ b/doc/examples/Makefile.example @@ -43,8 +43,8 @@ OBJS=$(addsuffix .o,$(EXAMPLES)) # the following examples make explicit use of the math library avcodec: LDLIBS += -lm encode_audio: LDLIBS += -lm -muxing: LDLIBS += -lm -resampling_audio: LDLIBS += -lm +mux: LDLIBS += -lm +resample_audio: LDLIBS += -lm .phony: all clean-test clean