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

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