mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-01-18 02:39:44 +00:00
Fix broken Android build
This commit is contained in:
parent
1cfedb19e4
commit
7d312f51fb
@ -7,6 +7,7 @@ SERVALD_SRC_FILES = $(SERVAL_SOURCES) $(ANDROIDONLY_SOURCES)
|
||||
|
||||
SERVALD_LOCAL_CFLAGS = \
|
||||
-g \
|
||||
-DSERVALD_VERSION="\"Android\"" \
|
||||
-DSHELL -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" \
|
||||
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" \
|
||||
-DHAVE_LIBC=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 \
|
||||
@ -42,7 +43,7 @@ include $(CLEAR_VARS)
|
||||
SQLITE3_INC=$(LOCAL_PATH)/sqlite3
|
||||
# Get the list of sources
|
||||
include $(LOCAL_PATH)/serval-dna/nacl/src/nacl.mk
|
||||
LOCAL_SRC_FILES:= $(SERVALD_SRC_FILES)
|
||||
LOCAL_SRC_FILES:= $(SERVALD_SRC_FILES) $(SERVAL_BASE)version_servald.c
|
||||
LOCAL_CFLAGS += $(SERVALD_LOCAL_CFLAGS) -Iserval-dna/nacl/include
|
||||
LOCAL_LDLIBS := $(SERVALD_LOCAL_LDLIBS)
|
||||
LOCAL_STATIC_LIBRARIES := $(SERVALD_LOCAL_STATIC_LIBRARIES)
|
||||
@ -57,7 +58,7 @@ include $(BUILD_EXECUTABLE)
|
||||
|
||||
# Build servald for use with gdb
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_SRC_FILES:= $(SERVALD_SRC_FILES)
|
||||
LOCAL_SRC_FILES:= $(SERVALD_SRC_FILES) $(SERVAL_BASE)version_servald.c
|
||||
LOCAL_CFLAGS += $(SERVALD_LOCAL_CFLAGS)
|
||||
LOCAL_LDLIBS := $(SERVALD_LOCAL_LDLIBS)
|
||||
LOCAL_STATIC_LIBRARIES := $(SERVALD_LOCAL_STATIC_LIBRARIES)
|
||||
|
Loading…
Reference in New Issue
Block a user