Commit 1418b15
Use a preprocessor flag to optionally depend on dynamic linking header
Summary:
we need to install libdl in order to
```
#include <dlfcn.h>
```
I'm turning this feature on based on host os. If user wants to enable it, they need to make sure `dlfcn.h` header is available which it should for most UNIX-like host OSes. Added comments for that.
Reviewed By: digantdesai, dbort
Differential Revision: D47886884
fbshipit-source-id: fdf4db841bd066dcf47f16ea622e56e35f48e6601 parent 0c330f8 commit 1418b15
2 files changed
+13
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
18 | 22 | | |
19 | 23 | | |
20 | 24 | | |
| |||
30 | 34 | | |
31 | 35 | | |
32 | 36 | | |
33 | | - | |
| 37 | + | |
34 | 38 | | |
35 | 39 | | |
36 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
95 | 102 | | |
96 | 103 | | |
97 | 104 | | |
| |||
0 commit comments