質問編集履歴
1
解決方法の追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -94,4 +94,15 @@
|
|
94
94
|
This program is free software; you may redistribute it under the terms of
|
95
95
|
the GNU General Public License version 3 or (at your option) any later version.
|
96
96
|
This program has absolutely no warranty.
|
97
|
+
```
|
98
|
+
|
99
|
+
# 解決方法
|
100
|
+
自己解決ではない場合の解決方法をどこに書いたらいいかわからないのでここに書きますが、@Chironianさんの「①サード・パーティのライブラリと自作ライブラリをあらためてアーカイブする」で解決しました。
|
101
|
+
```
|
102
|
+
$ ar -M
|
103
|
+
AR >create libmylib.a # 出力するアーカイブ名
|
104
|
+
AR >addlib libmylib.a # 自作ライブラリのアーカイブを追加
|
105
|
+
AR >addlib /usr/local/lib/libopenblas.a # サードパーティのアーカイブを追加
|
106
|
+
AR >save
|
107
|
+
AR >end
|
97
108
|
```
|