mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-01-12 06:48:04 +03:00
linux build again
This commit is contained in:
parent
35f04bd679
commit
688e986999
@ -39,7 +39,7 @@ endif
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
LIBFILE_LINUX = $(MODNAME)_i686.so
|
LIBFILE_LINUX = $(MODNAME)_i386.so
|
||||||
LIBFILE_WIN32 = $(MODNAME).dll
|
LIBFILE_WIN32 = $(MODNAME).dll
|
||||||
TARGET_LINUX = $(OBJDIR_LINUX)/$(LIBFILE_LINUX)
|
TARGET_LINUX = $(OBJDIR_LINUX)/$(LIBFILE_LINUX)
|
||||||
TARGET_WIN32 = $(OBJDIR_WIN32)/$(LIBFILE_WIN32)
|
TARGET_WIN32 = $(OBJDIR_WIN32)/$(LIBFILE_WIN32)
|
||||||
@ -56,7 +56,7 @@ OBJ_WIN32 := $(SRCFILES:%.cpp=$(OBJDIR_WIN32)/%.o)
|
|||||||
#CCOPT = -funroll-loops \
|
#CCOPT = -funroll-loops \
|
||||||
|
|
||||||
INCLUDEDIRS=-I../curl/include -I$(SRCDIR) -I$(METADIR) -I$(SDKSRC)/engine -I$(SDKSRC)/common -I$(SDKSRC)/pm_shared -I$(SDKSRC)/dlls -I$(SDKSRC) $(EXTRA_INCLUDEDIRS)
|
INCLUDEDIRS=-I../curl/include -I$(SRCDIR) -I$(METADIR) -I$(SDKSRC)/engine -I$(SDKSRC)/common -I$(SDKSRC)/pm_shared -I$(SDKSRC)/dlls -I$(SDKSRC) $(EXTRA_INCLUDEDIRS)
|
||||||
CFLAGS=-Wall -Wno-unknown-pragmas -march=i686
|
CFLAGS=-Wall -Wno-unknown-pragmas -march=i386
|
||||||
ODEF = -DOPT_TYPE=\"optimized\"
|
ODEF = -DOPT_TYPE=\"optimized\"
|
||||||
CFLAGS:=$(CCOPT) $(CFLAGS) $(ODEF) $(EXTRA_FLAGS)
|
CFLAGS:=$(CCOPT) $(CFLAGS) $(ODEF) $(EXTRA_FLAGS)
|
||||||
|
|
||||||
|
Binary file not shown.
@ -195,6 +195,7 @@ AMX_NATIVE_INFO pgsql_exports[] = {
|
|||||||
{"pgsql_query", pgsql_query},
|
{"pgsql_query", pgsql_query},
|
||||||
{"pgsql_nextrow", pgsql_nextrow},
|
{"pgsql_nextrow", pgsql_nextrow},
|
||||||
{"pgsql_close", pgsql_close},
|
{"pgsql_close", pgsql_close},
|
||||||
|
{"pgsql_getfield", pgsql_getfield},
|
||||||
|
|
||||||
{NULL, NULL},
|
{NULL, NULL},
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user