mirror of
https://github.com/openwrt/telephony.git
synced 2026-04-15 19:02:14 +00:00
baresip: add patch to fix ld call
ld expects '-shared' when called with '--export-dynamic'. Patch the Makefile accordingly. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
This commit is contained in:
14
net/baresip/patches/001-fix-linker-call.patch
Normal file
14
net/baresip/patches/001-fix-linker-call.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -199,9 +199,9 @@ libbaresip.pc:
|
||||
$(BIN): $(APP_OBJS)
|
||||
@echo " LD $@"
|
||||
ifneq ($(GPROF),)
|
||||
- $(HIDE)$(LD) $(LFLAGS) $(APP_LFLAGS) $^ ../re/libre.a $(LIBS) -o $@
|
||||
+ $(HIDE)$(LD) $(LFLAGS) $(SH_LFLAGS) $(APP_LFLAGS) $^ ../re/libre.a $(LIBS) -o $@
|
||||
else
|
||||
- $(HIDE)$(LD) $(LFLAGS) $(APP_LFLAGS) $^ \
|
||||
+ $(HIDE)$(LD) $(LFLAGS) $(SH_LFLAGS) $(APP_LFLAGS) $^ \
|
||||
-L$(LIBRE_SO) -lre $(LIBS) -o $@
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user