Stephen Hemminger | e7b24b6 | 2013-03-13 08:29:59 -0700 | [diff] [blame^] | 1 | /* |
| 2 | * This file creates a dummy version of dynamic loading |
| 3 | * for environments where dynamic linking |
| 4 | * is not used or available. |
| 5 | */ |
| 6 | |
Mike Frysinger | f2e27cf | 2009-11-06 06:09:22 -0500 | [diff] [blame] | 7 | #include <string.h> |
Stephen Hemminger | e7b24b6 | 2013-03-13 08:29:59 -0700 | [diff] [blame^] | 8 | #include "dlfcn.h" |
| 9 | |
Mike Frysinger | f2e27cf | 2009-11-06 06:09:22 -0500 | [diff] [blame] | 10 | void *_dlsym(const char *sym) |
| 11 | { |
| 12 | #include "static-syms.h" |
| 13 | return NULL; |
| 14 | } |