mirror of
https://github.com/UberGames/RPG-X2.git
synced 2024-11-24 13:21:37 +00:00
Preparations for xml file support
This commit is contained in:
parent
f37aa76108
commit
8041829d0a
1 changed files with 2 additions and 4 deletions
|
@ -11,10 +11,8 @@ CC = gcc
|
|||
# cflags for the compiler
|
||||
ifeq ($(PLATFORM), mingw32)
|
||||
SOCFLAGS = $(CFLAGS)
|
||||
LIBMYSQL =
|
||||
else
|
||||
SOCFLAGS = $(CFLAGS) -fPIC
|
||||
LIBMYSQL = -mysqlclient
|
||||
endif
|
||||
|
||||
# set extension
|
||||
|
@ -252,9 +250,9 @@ lzio.o: lzio.c; $(DO_LUACC)
|
|||
|
||||
build_so: $(OBJ) $(SOOBJ) $(LUAOBJ)
|
||||
ifeq ($(PLATFORM), mingw32)
|
||||
$(CC) -shared $(WL),--export-all-symbols,-soname,qqgame$(ARCH).$(EXT) -o qagame$(ARCH).$(EXT) $(OBJ) $(SOOBJ) $(LUAOBJ) ../mysql/libs/mysqlclient.lib -lm
|
||||
$(CC) -shared $(WL),--export-all-symbols,-soname,qqgame$(ARCH).$(EXT) -o qagame$(ARCH).$(EXT) $(OBJ) $(SOOBJ) $(LUAOBJ) $(LIBEXPAT) -lm
|
||||
else
|
||||
$(CC) -shared $(WL),--export-dynamic,-soname,qagame$(ARCH).$(EXT) -o qagame$(ARCH).$(EXT) $(OBJ) $(SOOBJ) $(LUAOBJ) $(LIBMYSQL) -lm
|
||||
$(CC) -shared $(WL),--export-dynamic,-soname,qagame$(ARCH).$(EXT) -o qagame$(ARCH).$(EXT) $(OBJ) $(SOOBJ) $(LUAOBJ) $(LIBEXPAT) -lm
|
||||
endif
|
||||
|
||||
clean:
|
||||
|
|
Loading…
Reference in a new issue