forked from len0rd/rockbox
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
This commit is contained in:
parent
91bae5837b
commit
9246cbc65e
1 changed files with 2 additions and 2 deletions
|
|
@ -115,12 +115,12 @@ librbspeex.a: $(TARGET_DIR)librbspeex.a
|
||||||
../rbspeexenc: $(OBJS) $(TARGET_DIR)librbspeex.a
|
../rbspeexenc: $(OBJS) $(TARGET_DIR)librbspeex.a
|
||||||
$(info Linking ../rbspeexenc)
|
$(info Linking ../rbspeexenc)
|
||||||
$(SILENT)$(CROSS)$(CC) $(CFLAGS) $(LDFLAGS) $(ARCHFLAGS) -o ../rbspeexenc $(BUILD_DIR)/rbspeexenc.c.o \
|
$(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
|
../rbspeexdec: $(OBJS) $(TARGET_DIR)librbspeex.a
|
||||||
$(info Linking ../rbspeexdec)
|
$(info Linking ../rbspeexdec)
|
||||||
$(SILENT)$(CROSS)$(CC) $(CFLAGS) $(LDFLAGS) $(ARCHFLAGS) -o ../rbspeexdec $(BUILD_DIR)/rbspeexdec.c.o \
|
$(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
|
# common rules
|
||||||
$(OBJDIR)%.c.o:
|
$(OBJDIR)%.c.o:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue