1
1
mirror of https://github.com/OpenVoiceOS/OpenVoiceOS synced 2024-12-12 00:55:31 +01:00
OpenVoiceOS/buildroot-external/package/kaldi/0002-Fix-cblas-linking-issue-with-cmake.patch
j1nx 08e08a0c5b [WIP] Build vosk-api andits dependencies from source
This so we can use the same package for any architecture in the future.
2022-12-20 15:58:35 +01:00

26 lines
817 B
Diff

From a35d6219f9dba75a99dd90f3c02666a6c017c8fc Mon Sep 17 00:00:00 2001
From: j1nx <p.steenbergen@j1nx.nl>
Date: Mon, 19 Dec 2022 10:05:44 +0100
Subject: [PATCH 1/1] Fix cblas linking issue with cmake
---
cmake/gen_cmake_skeleton.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmake/gen_cmake_skeleton.py b/cmake/gen_cmake_skeleton.py
index 5925c6369..88df4a0b6 100644
--- a/cmake/gen_cmake_skeleton.py
+++ b/cmake/gen_cmake_skeleton.py
@@ -269,7 +269,7 @@ class CMakeListsLibrary(object):
if len(self.depends) > 0:
ret.append("target_link_libraries(" + self.target_name + " PUBLIC")
- for d in self.depends:
+ for d in self.depends + ['-lcblas', '-llapack'] :
ret.append(" " + d)
ret.append(")\n")
--
2.34.1