mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-26 15:55:31 +01:00
Merge pull request #1033 from Sonicadvance1/fix-android-x86_64
Fix building x86_64 on Android.
This commit is contained in:
commit
16f054db47
@ -243,7 +243,7 @@ void InstallExceptionHandler()
|
|||||||
CheckKR("mach_port_request_notification", mach_port_request_notification(mach_task_self(), port, MACH_NOTIFY_NO_SENDERS, 0, port, MACH_MSG_TYPE_MAKE_SEND_ONCE, &previous));
|
CheckKR("mach_port_request_notification", mach_port_request_notification(mach_task_self(), port, MACH_NOTIFY_NO_SENDERS, 0, port, MACH_MSG_TYPE_MAKE_SEND_ONCE, &previous));
|
||||||
}
|
}
|
||||||
|
|
||||||
#elif !defined(ANDROID)
|
#elif defined(_POSIX_VERSION)
|
||||||
|
|
||||||
static void sigsegv_handler(int sig, siginfo_t *info, void *raw_context)
|
static void sigsegv_handler(int sig, siginfo_t *info, void *raw_context)
|
||||||
{
|
{
|
||||||
@ -281,6 +281,10 @@ void InstallExceptionHandler()
|
|||||||
sigaction(SIGSEGV, &sa, nullptr);
|
sigaction(SIGSEGV, &sa, nullptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
#error Unsupported x86_64 platform! Report this if you support sigaction
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
} // namespace
|
} // namespace
|
||||||
|
@ -155,10 +155,10 @@ if(ANDROID)
|
|||||||
"-Wl,--no-whole-archive"
|
"-Wl,--no-whole-archive"
|
||||||
)
|
)
|
||||||
add_custom_command(TARGET ${DOLPHIN_EXE} POST_BUILD
|
add_custom_command(TARGET ${DOLPHIN_EXE} POST_BUILD
|
||||||
COMMAND mkdir ARGS -p ${CMAKE_SOURCE_DIR}/Source/Android/libs/${ANDROID_NDK_ABI_NAME}
|
COMMAND mkdir ARGS -p ${CMAKE_SOURCE_DIR}/Source/Android/libs/${ANDROID_NDK_OUTPUT_ABI_NAME}
|
||||||
)
|
)
|
||||||
add_custom_command(TARGET ${DOLPHIN_EXE} POST_BUILD
|
add_custom_command(TARGET ${DOLPHIN_EXE} POST_BUILD
|
||||||
COMMAND cp ARGS ${LIBRARY_OUTPUT_PATH_ROOT}/libs/${ANDROID_NDK_ABI_NAME}/lib${DOLPHIN_EXE}.so ${CMAKE_SOURCE_DIR}/Source/Android/libs/${ANDROID_NDK_ABI_NAME}/
|
COMMAND cp ARGS ${LIBRARY_OUTPUT_PATH_ROOT}/libs/${ANDROID_NDK_OUTPUT_ABI_NAME}/lib${DOLPHIN_EXE}.so ${CMAKE_SOURCE_DIR}/Source/Android/libs/${ANDROID_NDK_OUTPUT_ABI_NAME}/
|
||||||
)
|
)
|
||||||
add_custom_command(TARGET ${DOLPHIN_EXE} POST_BUILD
|
add_custom_command(TARGET ${DOLPHIN_EXE} POST_BUILD
|
||||||
COMMAND cp ARGS ${CMAKE_SOURCE_DIR}/Data/Sys/GC/* ${CMAKE_SOURCE_DIR}/Source/Android/assets/
|
COMMAND cp ARGS ${CMAKE_SOURCE_DIR}/Data/Sys/GC/* ${CMAKE_SOURCE_DIR}/Source/Android/assets/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user