diff --git a/.gear/llama.cpp.spec b/.gear/llama.cpp.spec index 305f1b430..23281fa62 100644 --- a/.gear/llama.cpp.spec +++ b/.gear/llama.cpp.spec @@ -134,6 +134,8 @@ sed -i '/POSITION_INDEPENDENT_CODE/s/PROPERTIES/& SOVERSION 0.0.%version/' ggml/ sed -i 's/POSITION_INDEPENDENT_CODE/SOVERSION 0.0.%version &/' ggml/cmake/ggml-config.cmake.in # We do not have Internet access (issues/13371). sed -i 's/common_has_curl()/0/' tests/test-arg-parser.cpp +# Libs with unclear purpose. +sed -i s/BUILD_SHARED_LIBS/0/ tools/mtmd/CMakeLists.txt %build # Unless -DCMAKE_SKIP_BUILD_RPATH=yes CMake fails to strip build time RPATH