diff options
author | Bernd Schmidt <bernds_cb1@t-online.de> | 2007-11-22 17:05:28 +0000 |
---|---|---|
committer | Bernd Schmidt <bernds_cb1@t-online.de> | 2007-11-22 17:05:28 +0000 |
commit | 640cb909d1233201c9f86baa3241722adaa09f57 (patch) | |
tree | 9dd6eca269d049aae704d58d1a7b9801dbe40334 /include | |
parent | acadc5664e7f056e27c95d88522a573c1ed5cc49 (diff) |
Certain configure scripts test for presence of dlfcn.h. Don't install it
if !HAVE_SHARED.
Diffstat (limited to 'include')
-rw-r--r-- | include/link.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/link.h b/include/link.h index b69dcda5b..78726852b 100644 --- a/include/link.h +++ b/include/link.h @@ -23,7 +23,9 @@ #include <features.h> #include <elf.h> +#ifndef __HAVE_NO_SHARED__ #include <dlfcn.h> +#endif #include <sys/types.h> #if defined _LIBC && defined __UCLIBC_HAS_THREADS_NATIVE__ #include <tls.h> |