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/aix/dso.c | |
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/aix/dso.c')
-rw-r--r-- | dso/aix/dso.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dso/aix/dso.c b/dso/aix/dso.c index d43c8fdd9..e433985f8 100644 --- a/dso/aix/dso.c +++ b/dso/aix/dso.c @@ -87,6 +87,8 @@ #include <a.out.h> #include "dso.h" +#if APR_HAS_DSO + #undef FREAD #undef FWRITE #include <ldfcn.h> @@ -704,3 +706,5 @@ static void *findMain(void) free(buf); return ret; } + +#endif |