diff -r -u -N devilutionx/CMakeLists.txt devilutionx-linkfix/CMakeLists.txt --- devilutionx/CMakeLists.txt 2019-10-22 11:25:24.826458542 +0200 +++ devilutionx-linkfix/CMakeLists.txt 2019-10-22 11:26:03.370009857 +0200 @@ -77,7 +77,7 @@ endif() if(DIST OR DINGUX) - set(sodium_USE_STATIC_LIBS ON) + set(sodium_USE_STATIC_LIBS OFF) endif() set(CMAKE_CXX_STANDARD 11)