Browse Source

dlfcn.h exists only if __HAVE_SHARED__ ("we are built with shared lib support"),
not when !__HAVE_NO_SHARED__ ("arch can theoretically support shred libs")

Denis Vlasenko 16 years ago
parent
commit
0b0a9a449d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/link.h

+ 1 - 1
include/link.h

@@ -23,7 +23,7 @@
 
 #include <features.h>
 #include <elf.h>
-#ifndef __HAVE_NO_SHARED__
+#ifdef __HAVE_SHARED__
 #include <dlfcn.h>
 #endif
 #include <sys/types.h>