about summary refs log tree commit diff
path: root/include/shlib-compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/shlib-compat.h')
-rw-r--r--include/shlib-compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/shlib-compat.h b/include/shlib-compat.h
index a95c1e0806..a1a4d9c15c 100644
--- a/include/shlib-compat.h
+++ b/include/shlib-compat.h
@@ -26,7 +26,7 @@
 #include <abi-versions.h>	/* header generated by abi-versions.awk */
 #endif
 
-#if defined HAVE_ELF && defined PIC && defined DO_VERSIONING
+#if defined HAVE_ELF && defined SHARED && defined DO_VERSIONING
 
 /* The file abi-versions.h (generated by scripts/abi-versions.awk) defines
    symbols like `ABI_libm_GLIBC_2_0' for each version set in the source