aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0a3d1677..cb682287 100644
--- a/Makefile
+++ b/Makefile
@@ -138,7 +138,7 @@ $(subdirs):
$(OTR_PI): %.so: $(SRCDIR)%.c
@echo '*' Building plugin $@
- @$(CC) $(CFLAGS) $(OTRFLAGS) -fPIC -shared $< -o $@
+ @$(CC) $(CFLAGS) $(OTRFLAGS) -fPIC -shared $(LDFLAGS) $< -o $@
$(objects): %.o: $(SRCDIR)%.c
@echo '*' Compiling $<