[uClibc] ldconfig without LDSO_CACHE_SUPPORT
Mark Rakes
mrakes at mac.com
Tue Oct 12 05:06:26 UTC 2004
without LDSO_CACHE_SUPPORT turned on, LDSO_CONF and LDSO_CACHE are
not defined anywhere, but still used by ldconfig.c This patch allows
ldconfig to build again, although there may be a cleaner way to fix
this????
-mark
diff -purN -x CVS uClibc/ldso/include/dl-defs.h
uClibc.new/ldso/include/dl-defs.h
--- uClibc/ldso/include/dl-defs.h 2004-10-06 00:34:14.000000000 -0700
+++ uClibc.new/ldso/include/dl-defs.h 2004-10-11 18:28:12.000000000
-0700
@@ -39,6 +39,10 @@ typedef struct {
} libentry_t;
#endif /* __LDSO_CACHE_SUPPORT__ */
-#endif
+#else
+/* NB: ldconfig still uses these values */
+#define LDSO_CONF "/etc/ld.so.conf"
+#define LDSO_CACHE "/etc/ld.so.cache"
+#endif /* __LDSO_PRELOAD_FILE_SUPPORT__ || __LDSO_CACHE_SUPPORT__ */
#endif /* _LD_DEFS_H */
More information about the uClibc
mailing list