Commit 1f0770b
committed
Use PIC for (default) static lib
`caf` wrapper script defaults to static linkage against libcaf_mpi.a but if you're
building a shared lib with the `caf` script this fails because objects in `libcaf_mpi.a`
are not compiled with `-fPIC`. So creating shared libs fails.
The wrapper script should probably default to building and linking against the shared lib1 parent 926a2bb commit 1f0770b
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
42 | 45 | | |
43 | 46 | | |
44 | 47 | | |
| |||
0 commit comments