parent
a21bcce9f5
commit
f558d72165
|
@ -34,7 +34,7 @@ PLAT_LINUX_SRCS = $(COMMON_SRCS)
|
|||
PLAT_ARM64_SRCS = $(COMMON_SRCS)
|
||||
|
||||
# gcc CFLAGS
|
||||
PLAT_ARM64_CFLAGS := -fPIC -I../../Common -I../common -I../../Platform/common/database
|
||||
PLAT_ARM64_CFLAGS := -fPIC -I../../Common -I../common -I../../Platform/common
|
||||
PLAT_LINUX_CFLAGS := $(PLAT_ARM64_CFLAGS)
|
||||
|
||||
|
||||
|
|
|
@ -43,17 +43,17 @@ PLAT_LINUX_LDFLAGS := $(PLAT_ARM64_LDFLAGS)
|
|||
|
||||
|
||||
#gcc libs
|
||||
ARM64_LIBS := ./userauthapi-arm64.so
|
||||
LINUX_LIBS := -lcjson ./userauthapi-linux.so
|
||||
ARM64_LIBS := ./userauthapi-arm64.so ./libdatabase-arm64.so
|
||||
LINUX_LIBS := -lcjson ./userauthapi-linux.so ./libdatabase-linux.so
|
||||
|
||||
ifeq ($(PLAT_ARM64), TRUE)
|
||||
DEPEND_LIB += ./debug/userauthapi-arm64.so
|
||||
USER_CLEAN_ITEMS += ./userauthapi-arm64.so
|
||||
DEPEND_LIB += ./debug/userauthapi-arm64.so ../../Platform/build/debug/libdatabase-arm64.so
|
||||
USER_CLEAN_ITEMS += ./userauthapi-arm64.so ./libdatabase-arm64.so
|
||||
endif
|
||||
|
||||
ifeq ($(PLAT_LINUX), TRUE)
|
||||
DEPEND_LIB += ./debug/userauthapi-linux.so
|
||||
USER_CLEAN_ITEMS += ./userauthapi-linux.so
|
||||
DEPEND_LIB += ./debug/userauthapi-linux.so ../../Platform/build/debug/libdatabase-linux.so
|
||||
USER_CLEAN_ITEMS += ./userauthapi-linux.so ./libdatabase-linux.so
|
||||
endif
|
||||
|
||||
# this line must be at below of thus, because of...
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <cjson/cJSON.h>
|
||||
#include "user_auth.h"
|
||||
#include "database.h"
|
||||
#include "database/database.h"
|
||||
|
||||
#define NOT_LOCK 0
|
||||
#define DATA_EMPTY 0
|
||||
|
|
Loading…
Reference in New Issue