From 9ab4edbf56503a4156029beb170feb0449897387 Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Wed, 9 Aug 2023 11:24:13 +0200 Subject: [PATCH] configure: non-essential objs are not needed for reflector The non-essential object separated in HEAD^^^ happen not to be needed for the reflector. --- Makefile.in | 2 +- configure.ac | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index 9db231dae..f5b2d33d2 100644 --- a/Makefile.in +++ b/Makefile.in @@ -198,7 +198,7 @@ COMMON_OBJS = \ OBJS = @OBJS@ \ $(COMMON_OBJS) -ULTRAGRID_OBJS = src/main.o \ +ULTRAGRID_OBJS = @ULTRAGRID_OBJS@ src/main.o \ REFLECTOR_OBJS = src/hd-rum-translator/hd-rum-decompress.o \ src/hd-rum-translator/hd-rum-recompress.o \ diff --git a/configure.ac b/configure.ac index e33195c45..01c5cce76 100644 --- a/configure.ac +++ b/configure.ac @@ -43,6 +43,7 @@ TARGETS= AC_SUBST(INC) AC_SUBST(LIBS) AC_SUBST(OBJS) +AC_SUBST(ULTRAGRID_OBJS) AC_SUBST(POST_COMPILE_MSG) AC_SUBST(COMMON_FLAGS) @@ -3270,7 +3271,7 @@ if test -n "$req_files"; then fi if test "$build_default" != no; then - OBJS="$OBJS + ULTRAGRID_OBJS="$ULTRAGRID_OBJS src/audio/playback/dump.o src/audio/playback/mixer.o src/audio/filter/delay.o @@ -3337,6 +3338,7 @@ fi # remove duplicite objs OBJS=`echo $OBJS | tr ' ' '\n' | sort | uniq | tr '\n' ' '` TEST_OBJS=`echo $TEST_OBJS | tr ' ' '\n' | sort | uniq | tr '\n' ' '` +ULTRAGRID_OBJS=`echo $ULTRAGRID_OBJS | tr ' ' '\n' | sort | uniq | tr '\n' ' '` AC_SUBST(BIN_DEPS) AC_SUBST(GENERATED_HEADERS)