diff --git a/docs/INSTALL.md b/docs/INSTALL.md index 1991932..6d615cc 100644 --- a/docs/INSTALL.md +++ b/docs/INSTALL.md @@ -10,7 +10,7 @@ minecraft-pi-reborn-_X.Y.Z~_ ### Picking A Variant * ``client``: Client mode, use this if you want to play MCPI -* ``server``: Server mode, use this if you want to host an MCPI server +* ``server``: Server mode, use this if you want to host a dedicated MCPI server ### Picking A Distribution This specifies which version of Debian MCPI-Reborn was built against. Which one you should use depends on your current distribution. If your distribution supports it, you should use ``bullseye`` for better mouse sensitivity. diff --git a/media-layer/stubs/CMakeLists.txt b/media-layer/stubs/CMakeLists.txt index e62dbf2..4066efa 100644 --- a/media-layer/stubs/CMakeLists.txt +++ b/media-layer/stubs/CMakeLists.txt @@ -15,7 +15,11 @@ if(BUILD_ARM_COMPONENTS) add_library(EGL SHARED src/EGL.c) target_link_libraries(EGL reborn-headers media-layer-headers) # Install - install(TARGETS EGL DESTINATION "${MCPI_FALLBACK_LIB_DIR}") # Place At The End Of LD_LIBRARY_PATH + if(MCPI_SERVER_MODE OR MCPI_USE_MEDIA_LAYER_PROXY) + install(TARGETS EGL DESTINATION "${MCPI_LIB_DIR}") + else() + install(TARGETS EGL DESTINATION "${MCPI_FALLBACK_LIB_DIR}") # Place At The End Of LD_LIBRARY_PATH + endif() # Install GLESv1_CM Stubs In Server Mode if(MCPI_SERVER_MODE)