diff --git a/client/sources-linux/buildenv.sh b/client/sources-linux/buildenv.sh index d23d751b..0e7acb2b 100755 --- a/client/sources-linux/buildenv.sh +++ b/client/sources-linux/buildenv.sh @@ -218,6 +218,10 @@ cat >>/usr/include/pthread.h <<__EOF__ #define _GNU_SOURCE #include +#ifndef RTLD_NEXT +#define RTLD_NEXT ((void *) -1l) +#endif + static int (*_pthread_condattr_setclock) (pthread_condattr_t *attr, clockid_t clock_id) = NULL; static inline