Updated library names after change in #3704
authorArmin Novak <armin.novak@thincast.com>
Mon, 16 Jan 2017 17:08:07 +0000 (18:08 +0100)
committerArmin Novak <armin.novak@thincast.com>
Mon, 16 Jan 2017 17:08:07 +0000 (18:08 +0100)
client/Android/CMakeLists.txt
client/Android/Studio/freeRDPCore/src/main/java/com/freerdp/freerdpcore/services/LibFreeRDP.java

index cf62fdd..7fcdb63 100644 (file)
@@ -48,5 +48,7 @@ set(${MODULE_PREFIX}_LIBS ${${MODULE_PREFIX}_LIBS} winpr freerdp freerdp-client)
 set(${MODULE_PREFIX}_LIBS ${${MODULE_PREFIX}_LIBS} dl)
 set(${MODULE_PREFIX}_LIBS ${${MODULE_PREFIX}_LIBS} jnigraphics)
 
+set_target_properties(${MODULE_NAME} PROPERTIES OUTPUT_NAME ${MODULE_NAME}${FREERDP_API_VERSION})
+
 target_link_libraries(${MODULE_NAME} ${${MODULE_PREFIX}_LIBS})
 install(TARGETS ${MODULE_NAME} DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT libraries EXPORT AndroidTargets)
index 0670165..9e96075 100644 (file)
@@ -28,8 +28,8 @@ public class LibFreeRDP {
 
     static {
         final String[] libraries = {
-                "openh264", "freerdp-openssl", "jpeg", "winpr",
-                "freerdp", "freerdp-client", "freerdp-android"};
+                "openh264", "freerdp-openssl", "jpeg", "winpr2",
+                "freerdp2", "freerdp-client2", "freerdp-android2"};
         final String LD_PATH = System.getProperty("java.library.path");
 
         for (String lib : libraries) {