Fix building for Pascal (#2305)

This commit is contained in:
Fangjun Kuang
2025-06-20 11:10:07 +08:00
committed by GitHub
parent 59d118c256
commit a6095f5f64
3 changed files with 66 additions and 4 deletions

View File

@@ -7,3 +7,13 @@ for how to build the project in this directory.
You can find pre-built APPs from this directory at
https://k2-fsa.github.io/sherpa/onnx/lazarus/pre-built-app.html
## notes for developers
By default, it uses static libs for Linux and macOS. To change that,
open Lazarus IDE, select `Project`, `Project options`, `Compiler options`,
change the `Build modes` to `Release-Linux`.
The `Release-Linux` mode is defined in the file `generate_subtitles.lpi`.
It defines a macro `SHERPA_ONNX_USE_SHARED_LIBS`.