Skip to content
Snippets Groups Projects
Commit 09aef36d authored by Sebastian Kemper's avatar Sebastian Kemper
Browse files

baresip: add patch to fix ld call


ld expects '-shared' when called with '--export-dynamic'. Patch the
Makefile accordingly.

Signed-off-by: default avatarSebastian Kemper <sebastian_ml@gmx.net>
parent e7534292
No related branches found
No related tags found
No related merge requests found
--- 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment