diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/replace/wscript | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript index 12ccd395a2..7c060a92e6 100644 --- a/lib/replace/wscript +++ b/lib/replace/wscript @@ -128,6 +128,9 @@ def configure(conf): conf.CHECK_FUNCS_IN('dlopen dlsym dlerror dlclose', 'dl', checklibc=True, headers='dlfcn.h dl.h') + conf.CHECK_C_PROTOTYPE('dlopen', 'void *dlopen(const char* filename, unsigned int flags)', + define='DLOPEN_TAKES_UNSIGNED_FLAGS', headers='dlfcn.h dl.h') + conf.CHECK_FUNCS_IN('fdatasync', 'rt', checklibc=True) # these headers need to be tested as a group on freebsd |