diff --git a/CMakeLists.txt b/CMakeLists.txt index e16c9c7..71bded8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,11 +10,13 @@ endif () if (CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) if (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64") - set(JITSI_SYSTEM_PROCESSOR "x86-64") + set(JNA_SYSTEM_PROCESSOR "x86-64") + elseif (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "ppc64el") + set(JNA_SYSTEM_PROCESSOR "ppc64le") else () - set(JITSI_SYSTEM_PROCESSOR ${CMAKE_SYSTEM_PROCESSOR}) + set(JNA_SYSTEM_PROCESSOR ${CMAKE_SYSTEM_PROCESSOR}) endif () - set(CMAKE_INSTALL_PREFIX "${CMAKE_CURRENT_LIST_DIR}/src/main/resources/${CMAKE_SYSTEM_NAME}-${JITSI_SYSTEM_PROCESSOR}" CACHE PATH "default install path" FORCE) + set(CMAKE_INSTALL_PREFIX "${CMAKE_CURRENT_LIST_DIR}/src/main/resources/${CMAKE_SYSTEM_NAME}-${JNA_SYSTEM_PROCESSOR}" CACHE PATH "default install path" FORCE) string(TOLOWER ${CMAKE_INSTALL_PREFIX} CMAKE_INSTALL_PREFIX) message(STATUS "CMAKE_INSTALL_PREFIX not set, defaulting to >${CMAKE_INSTALL_PREFIX}<") endif () diff --git a/pom.xml b/pom.xml index 42cf258..b39776e 100644 --- a/pom.xml +++ b/pom.xml @@ -70,8 +70,8 @@ linux-x86-64/libjitsisrtp_3.so;osname=Linux;processor=x86-64, linux-aarch64/libjitsisrtp_1.1.so; linux-aarch64/libjitsisrtp_3.so;osname=Linux;processor=AArch64, - linux-ppc64el/libjitsisrtp_1.1.so; - linux-ppc64el/libjitsisrtp_3.so;osname=Linux;processor=PowerPC-64-LE, + linux-ppc64le/libjitsisrtp_1.1.so; + linux-ppc64le/libjitsisrtp_3.so;osname=Linux;processor=PowerPC-64-LE, darwin-x86-64/libjitsisrtp_1.1.dylib; darwin-x86-64/libjitsisrtp_3.dylib;osname=Mac OS X;processor=x86-64, darwin-aarch64/libjitsisrtp_1.1.dylib;