aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2011-10-17 09:28:37 -0400
committerWilmer van der Gaast <wilmer@gaast.net>2011-10-17 09:28:37 -0400
commit9fc017d62eb597a09af340f19fa10b8fc77da1d4 (patch)
treef767d26b2e884f2fd7c92ba29a3e268ed85c81f7 /Makefile
parent6cdaabb02658ff69eb3fe58f4d54f5b70424dda9 (diff)
Switch order of linker arguments for building otr.so which should fix the
plugin with new toolchain versions (affecting Ubuntu Oneiric and possibly others).
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e8049fa7..d3a9c803 100644
--- a/Makefile
+++ b/Makefile
@@ -155,7 +155,7 @@ $(subdirs):
$(OTR_PI): %.so: $(SRCDIR)%.c
@echo '*' Building plugin $@
- @$(CC) $(CFLAGS) $(OTRFLAGS) -fPIC -shared $(LDFLAGS) $< -o $@
+ @$(CC) $(CFLAGS) -fPIC -shared $(LDFLAGS) $< -o $@ $(OTRFLAGS)
$(SKYPE_PI): $(SRCDIR)protocols/skype/skype.c
@echo '*' Building plugin skype