diff options
author | Ryan Bloom <rbb@apache.org> | 2000-06-01 01:01:16 +0000 |
---|---|---|
committer | Ryan Bloom <rbb@apache.org> | 2000-06-01 01:01:16 +0000 |
commit | 5ecb3d99d9ab25b598fd68f0e103a7dde16e0699 (patch) | |
tree | f1f17de04ca92795060b4165adbd69d4b48cc5fa /dso/beos | |
parent | 90585c4a7d74e6ae39d853e59164858120bad20a (diff) | |
download | apr-5ecb3d99d9ab25b598fd68f0e103a7dde16e0699.tar.gz |
Fix building with DSO support. If any module is configured to be
compiled for shared support then APR_HAS_DSO is enabled and -ldl is
added to the LIBS variable. -ldl may need to be modified based on
platform. If no modules are designated as shared then APR_HAS_DSO is
disabled and nothing is added to LIBS. In basic testing this compiled
without errors or warnings.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60122 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'dso/beos')
-rw-r--r-- | dso/beos/dso.c | 3 | ||||
-rw-r--r-- | dso/beos/dso.h | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/dso/beos/dso.c b/dso/beos/dso.c index c63102739..acb05b58f 100644 --- a/dso/beos/dso.c +++ b/dso/beos/dso.c @@ -54,6 +54,7 @@ #include "dso.h" +#if APR_HAS_DSO ap_status_t ap_dso_init(void){ return APR_SUCCESS; @@ -97,3 +98,5 @@ ap_status_t ap_dso_sym(ap_dso_handle_sym_t *ressym, ap_dso_handle_t *handle, return APR_SUCCESS; } + +#endif diff --git a/dso/beos/dso.h b/dso/beos/dso.h index 2666d779a..27e35f87e 100644 --- a/dso/beos/dso.h +++ b/dso/beos/dso.h @@ -60,11 +60,16 @@ #include "apr_pools.h" #include "apr_errno.h" #include "apr_dso.h" +#include "apr.h" #include <kernel/image.h> +#if APR_HAS_DSO + struct ap_dso_handle_t { image_id handle; /* Handle to the DSO loaded */ ap_pool_t *cont; }; #endif + +#endif |