mirror of
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git
synced 2024-11-16 14:35:34 +08:00
e7b24b67db
On some platforms, shared libraries are not used. The stub code need some updating to not generate errors.
15 lines
248 B
C
15 lines
248 B
C
/*
|
|
* This file creates a dummy version of dynamic loading
|
|
* for environments where dynamic linking
|
|
* is not used or available.
|
|
*/
|
|
|
|
#include <string.h>
|
|
#include "dlfcn.h"
|
|
|
|
void *_dlsym(const char *sym)
|
|
{
|
|
#include "static-syms.h"
|
|
return NULL;
|
|
}
|