Build script fix to allow plugins to build on x86-64.

$(SHLIB_CFLAGS) is required on the compile line, not just the link line.


git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@99 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Kevin Easton
2010-09-09 01:08:14 +00:00
parent f71e26acc7
commit 2f92982eac
25 changed files with 48 additions and 46 deletions

View File

@@ -165,7 +165,7 @@ Makefile: Makefile.in
&& ./config.status
autobot.o: $(srcdir)/autobot.c
$(CC) $(DEFS) $(CFLAGS) -c $(srcdir)/autobot.c
$(CC) $(DEFS) $(SHLIB_CFLAGS) $(CFLAGS) -c $(srcdir)/autobot.c
autobot$(SHLIB_SUFFIX): autobot.o ../dllinit.o
$(SHLIB_LD) autobot.o ../dllinit.o $(SHLIB_CFLAGS) -o autobot$(SHLIB_SUFFIX)