-
Notifications
You must be signed in to change notification settings - Fork 424
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3c0b98b
commit ab5ba9a
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
prefix="@CMAKE_INSTALL_PREFIX@" | ||
exec_prefix="${prefix}" | ||
includedir="${prefix}/include" | ||
libdir="${exec_prefix}/lib" | ||
|
||
Name: sherpa-onnx | ||
Description: pkg-config for sherpa-onnx with TTS support | ||
URL: https://github.com/k2-fsa/sherpa-onnx | ||
|
||
Version: @SHERPA_ONNX_VERSION@ | ||
Cflags: -I"${includedir}" | ||
|
||
# Note: -lcargs is required only for the following file | ||
# https://github.com/k2-fsa/sherpa-onnx/blob/master/c-api-examples/decode-file-c-api.c | ||
# We add it here so that users don't need to specify -lcargs when compiling decode-file-c-api.c | ||
Libs: -L"${libdir}" -lsherpa-onnx-c-api -lsherpa-onnx-core -lkaldi-decoder-core -lsherpa-onnx-kaldifst-core -lsherpa-onnx-fst -lkaldi-native-fbank-core -lcargs -lonnxruntime -Wl,-rpath,${libdir} @SHERPA_ONNX_PKG_CONFIG_EXTRA_LIBS@ |