mirror of
https://github.com/SFML/SFML.git
synced 2024-12-01 15:51:04 +08:00
Android: Fixed building and linking
This commit is contained in:
parent
592a25b768
commit
26f8c74c43
@ -42,7 +42,7 @@ include $(CLEAR_VARS)
|
|||||||
LOCAL_MODULE := sfml-audio
|
LOCAL_MODULE := sfml-audio
|
||||||
LOCAL_SRC_FILES := lib/$(TARGET_ARCH_ABI)/libsfml-audio.so
|
LOCAL_SRC_FILES := lib/$(TARGET_ARCH_ABI)/libsfml-audio.so
|
||||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include
|
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include
|
||||||
LOCAL_SHARED_LIBRARIES := sfml-window sfml-system openal sndfile
|
LOCAL_SHARED_LIBRARIES := sfml-window sfml-system openal
|
||||||
|
|
||||||
prebuilt_path := $(call local-prebuilt-path,$(LOCAL_SRC_FILES))
|
prebuilt_path := $(call local-prebuilt-path,$(LOCAL_SRC_FILES))
|
||||||
prebuilt := $(strip $(wildcard $(prebuilt_path)))
|
prebuilt := $(strip $(wildcard $(prebuilt_path)))
|
||||||
@ -132,7 +132,7 @@ include $(CLEAR_VARS)
|
|||||||
LOCAL_MODULE := sfml-audio-d
|
LOCAL_MODULE := sfml-audio-d
|
||||||
LOCAL_SRC_FILES := lib/$(TARGET_ARCH_ABI)/libsfml-audio-d.so
|
LOCAL_SRC_FILES := lib/$(TARGET_ARCH_ABI)/libsfml-audio-d.so
|
||||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include
|
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include
|
||||||
LOCAL_SHARED_LIBRARIES := sfml-window-d sfml-system-d openal sndfile
|
LOCAL_SHARED_LIBRARIES := sfml-window-d sfml-system-d openal
|
||||||
|
|
||||||
prebuilt_path := $(call local-prebuilt-path,$(LOCAL_SRC_FILES))
|
prebuilt_path := $(call local-prebuilt-path,$(LOCAL_SRC_FILES))
|
||||||
prebuilt := $(strip $(wildcard $(prebuilt_path)))
|
prebuilt := $(strip $(wildcard $(prebuilt_path)))
|
||||||
|
@ -174,7 +174,6 @@ void ANativeActivity_onCreate(ANativeActivity* activity, void* savedState, size_
|
|||||||
#undef _SFML_S
|
#undef _SFML_S
|
||||||
#undef _SFML_QS
|
#undef _SFML_QS
|
||||||
#endif
|
#endif
|
||||||
loadLibrary("sndfile", lJNIEnv, ObjectActivityInfo);
|
|
||||||
loadLibrary("openal", lJNIEnv, ObjectActivityInfo);
|
loadLibrary("openal", lJNIEnv, ObjectActivityInfo);
|
||||||
|
|
||||||
#if !defined(SFML_DEBUG)
|
#if !defined(SFML_DEBUG)
|
||||||
|
Loading…
Reference in New Issue
Block a user