Commit 0638c56
committed
Fix problem with linking on Linux using static library and
relocation problems in the code.
In order to be able to link on Linux to other shared libraries,
while compiling e.g. a static webui library, the -fPIC
is necessary. This has been tested on Linux.
Signed-off-by: Hans Dijkema <hans@dijkewijk.nl>1 parent 80f8976 commit 0638c56
1 file changed
Lines changed: 17 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
15 | 31 | | |
16 | 32 | | |
17 | 33 | | |
| |||
118 | 134 | | |
119 | 135 | | |
120 | 136 | | |
121 | | - | |
| 137 | + | |
0 commit comments