iproute2/tc/static-syms.c
Stephen Hemminger e7b24b67db Fix build when shared libraries are disabled
On some platforms, shared libraries are not used. The stub code
need some updating to not generate errors.
2013-03-13 08:29:59 -07:00

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