Commit 7c4beca
Fix models symbols names when vmaf is compiled as a subproject
Model symbols defined in `model.c` use the `src_` prefix + the model
name. When vmaf is compiled as a subproject, xxd will use as prefix the
subproject path.
Instead of `src_vmaf_4k_v0_6_1neg_json` it will use as symbol
`_subprojects_vmaf_3_0_0_libvmaf_src_vmaf_4k_v0_6_1neg_json`
To fix it, pass the symbol name using `-n` to always use the same symbol
names reagardless of the build path.1 parent 1b08bb4 commit 7c4beca
1 file changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| 131 | + | |
131 | 132 | | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
132 | 138 | | |
133 | 139 | | |
134 | 140 | | |
| |||
147 | 153 | | |
148 | 154 | | |
149 | 155 | | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
150 | 161 | | |
151 | 162 | | |
152 | 163 | | |
| |||
155 | 166 | | |
156 | 167 | | |
157 | 168 | | |
158 | | - | |
| 169 | + | |
159 | 170 | | |
160 | 171 | | |
161 | 172 | | |
| |||
0 commit comments