From 2cfd0041e486b1415e95ac76f76b9bc2c5a8bad0 Mon Sep 17 00:00:00 2001 From: rofl0r Date: Tue, 12 Mar 2013 13:33:02 +0100 Subject: [PATCH] Makefile: for some reason, -rdynamic is needed on some systems otherwise plugins cant be loaded because they cannot see xchat_list_free() and probably other functions as well. interestingly, it works without -rdynamic on some systems. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d03a7f7..da2f8fb 100644 --- a/Makefile +++ b/Makefile @@ -82,10 +82,10 @@ plugins/perl/perl.o: plugins/perl/perl.c $(PERL_HEADERS) $(CC) $(CFLAGS) $(PERL_CFLAGS) -fPIC -c $< -o $@ ixchat: $(OBJS) $(OBJS_FE_GTK) - $(CC) $(LDFLAGS) -o $@ $(OBJS) $(OBJS_FE_GTK) + $(CC) $(LDFLAGS) -rdynamic -o $@ $(OBJS) $(OBJS_FE_GTK) ixchat-text: $(OBJS) $(OBJS_FE_TEXT) - $(CC) $(LDFLAGS) -o $@ $(OBJS) $(OBJS_FE_TEXT) + $(CC) $(LDFLAGS) -rdynamic -o $@ $(OBJS) $(OBJS_FE_TEXT) clean: rm -f $(OBJS) -- 2.11.4.GIT