From 9246cbc65e0d71428f7ac8662efdb47f7b9cc174 Mon Sep 17 00:00:00 2001 From: James Buren Date: Sun, 27 Jun 2021 15:16:35 +0000 Subject: rbspeex: fix shared linkage on newer Linux distributions The old linking order does not work anymore so reorder it to fix shared linkage. Change-Id: I438c44792b5aff20e752b093b4d81a027db952db --- tools/rbspeex/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/rbspeex/Makefile b/tools/rbspeex/Makefile index 669e030c0d..7df505ed38 100644 --- a/tools/rbspeex/Makefile +++ b/tools/rbspeex/Makefile @@ -115,12 +115,12 @@ librbspeex.a: $(TARGET_DIR)librbspeex.a ../rbspeexenc: $(OBJS) $(TARGET_DIR)librbspeex.a $(info Linking ../rbspeexenc) $(SILENT)$(CROSS)$(CC) $(CFLAGS) $(LDFLAGS) $(ARCHFLAGS) -o ../rbspeexenc $(BUILD_DIR)/rbspeexenc.c.o \ - $(LIBS) -lm $(TARGET_DIR)librbspeex.a + $(TARGET_DIR)librbspeex.a $(LIBS) -lm ../rbspeexdec: $(OBJS) $(TARGET_DIR)librbspeex.a $(info Linking ../rbspeexdec) $(SILENT)$(CROSS)$(CC) $(CFLAGS) $(LDFLAGS) $(ARCHFLAGS) -o ../rbspeexdec $(BUILD_DIR)/rbspeexdec.c.o \ - $(LIBS) -lm $(TARGET_DIR)librbspeex.a + $(TARGET_DIR)librbspeex.a $(LIBS) -lm # common rules $(OBJDIR)%.c.o: -- cgit