OSDN Git Service

dlfcn.h exists only if __HAVE_SHARED__ ("we are built with shared lib support"),
authorDenis Vlasenko <vda.linux@googlemail.com>
Mon, 2 Jun 2008 23:45:23 +0000 (23:45 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Mon, 2 Jun 2008 23:45:23 +0000 (23:45 -0000)
not when !__HAVE_NO_SHARED__ ("arch can theoretically support shred libs")

include/link.h

index 7872685..6ce15df 100644 (file)
@@ -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>