summaryrefslogtreecommitdiff
path: root/dso/unix/dso.c
diff options
context:
space:
mode:
Diffstat (limited to 'dso/unix/dso.c')
-rw-r--r--dso/unix/dso.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dso/unix/dso.c b/dso/unix/dso.c
index 2581149fb..ce9470776 100644
--- a/dso/unix/dso.c
+++ b/dso/unix/dso.c
@@ -117,7 +117,8 @@ APR_DECLARE(apr_status_t) apr_dso_load(apr_dso_handle_t **res_handle,
#elif defined(DSO_USE_DLFCN)
#if defined(OSF1) || defined(SEQUENT) || defined(SNI) ||\
- (defined(__FreeBSD_version) && (__FreeBSD_version >= 220000))
+ (defined(__FreeBSD_version) && (__FreeBSD_version >= 220000)) ||\
+ defined(__DragonFly__)
void *os_handle = dlopen((char *)path, RTLD_NOW | RTLD_GLOBAL);
#else