Jelajahi Sumber

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 tahun lalu
induk
melakukan
0b0a9a449d
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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>