Commit 529921e
committed
lib+common: Fix v.h linkage for dynamically linked build
`make lib` builds c-ray in two parts, `lib/libc-ray.so` and `lib/c-ray`.
When I added v.h initially, I just placed the symbols in
`lib/api/c-ray.c`, but doing it that way failed to export the symbols
for the driver portion in `lib/c-ray`. Fix is to put the symbols in a
new translation unit under `src/common`.1 parent 6990604 commit 529921e
2 files changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| |||
0 commit comments