diff options
author | James Buren <braewoods+rb@braewoods.net> | 2021-06-27 15:16:35 +0000 |
---|---|---|
committer | James Buren <braewoods+rb@braewoods.net> | 2021-06-27 15:16:35 +0000 |
commit | 9246cbc65e0d71428f7ac8662efdb47f7b9cc174 (patch) | |
tree | 4edc4c6b3d240b1f1df5db1e8f9d4e7dce123986 | |
parent | 91bae5837bcd48a72d7cb9109f3d1490ff3a2e33 (diff) | |
download | rockbox-9246cbc65e0d71428f7ac8662efdb47f7b9cc174.tar.gz rockbox-9246cbc65e0d71428f7ac8662efdb47f7b9cc174.zip |
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
-rw-r--r-- | tools/rbspeex/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
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 | |||
115 | ../rbspeexenc: $(OBJS) $(TARGET_DIR)librbspeex.a | 115 | ../rbspeexenc: $(OBJS) $(TARGET_DIR)librbspeex.a |
116 | $(info Linking ../rbspeexenc) | 116 | $(info Linking ../rbspeexenc) |
117 | $(SILENT)$(CROSS)$(CC) $(CFLAGS) $(LDFLAGS) $(ARCHFLAGS) -o ../rbspeexenc $(BUILD_DIR)/rbspeexenc.c.o \ | 117 | $(SILENT)$(CROSS)$(CC) $(CFLAGS) $(LDFLAGS) $(ARCHFLAGS) -o ../rbspeexenc $(BUILD_DIR)/rbspeexenc.c.o \ |
118 | $(LIBS) -lm $(TARGET_DIR)librbspeex.a | 118 | $(TARGET_DIR)librbspeex.a $(LIBS) -lm |
119 | 119 | ||
120 | ../rbspeexdec: $(OBJS) $(TARGET_DIR)librbspeex.a | 120 | ../rbspeexdec: $(OBJS) $(TARGET_DIR)librbspeex.a |
121 | $(info Linking ../rbspeexdec) | 121 | $(info Linking ../rbspeexdec) |
122 | $(SILENT)$(CROSS)$(CC) $(CFLAGS) $(LDFLAGS) $(ARCHFLAGS) -o ../rbspeexdec $(BUILD_DIR)/rbspeexdec.c.o \ | 122 | $(SILENT)$(CROSS)$(CC) $(CFLAGS) $(LDFLAGS) $(ARCHFLAGS) -o ../rbspeexdec $(BUILD_DIR)/rbspeexdec.c.o \ |
123 | $(LIBS) -lm $(TARGET_DIR)librbspeex.a | 123 | $(TARGET_DIR)librbspeex.a $(LIBS) -lm |
124 | 124 | ||
125 | # common rules | 125 | # common rules |
126 | $(OBJDIR)%.c.o: | 126 | $(OBJDIR)%.c.o: |