Added fake stdin/stdout/stderr streams, to prevent crashes on some tablets
This commit is contained in:
@@ -50,7 +50,7 @@ common_CFLAGS := \
|
||||
-Wpointer-arith -Wwrite-strings -Wunused -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes \
|
||||
-Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wno-format-nonliteral -Wendif-labels \
|
||||
-Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -DHAVE_CONFIG_H -std=gnu99 \
|
||||
-I$(LOCAL_PATH)/include -I$(LOCAL_PATH)/include/curl -I$(LOCAL_PATH)/lib
|
||||
-I$(LOCAL_PATH)/include -I$(LOCAL_PATH)/include/curl -I$(LOCAL_PATH)/lib -D__sF=__SDL_fake_stdout
|
||||
|
||||
#########################
|
||||
# Build the libcurl library
|
||||
@@ -75,6 +75,8 @@ LOCAL_CFLAGS += $(common_CFLAGS)
|
||||
|
||||
LOCAL_MODULE:= libcurl
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := sdl-$(SDL_VERSION)
|
||||
|
||||
LOCAL_LDLIBS := -lz
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
Reference in New Issue
Block a user