mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-10-06 07:17:00 +00:00

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;
|
|
}
|