Fix pkg-config for linux (#358)

This commit is contained in:
Fangjun Kuang
2023-10-12 16:21:06 +08:00
committed by GitHub
parent 64795144f3
commit efd3cd3312
2 changed files with 3 additions and 3 deletions

View File

@@ -188,7 +188,7 @@ if(NOT BUILD_SHARED_LIBS)
endif()
if(UNIX AND NOT APPLE)
set(SHERPA_ONNX_PKG_CONFIG_EXTRA_LIBS "-lstdc++ -lm")
set(SHERPA_ONNX_PKG_CONFIG_EXTRA_LIBS "-lstdc++ -lm -pthread -ldl")
endif()
endif()