summaryrefslogtreecommitdiff
path: root/ldso/config.h
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2001-05-31 21:23:20 +0000
committerManuel Novoa III <mjn3@codepoet.org>2001-05-31 21:23:20 +0000
commitdd4d42c2b998b2b95912ac04106fb7a9b1b0a57e (patch)
tree19bdbd5e7c1fc93edcd14b115fdbdf3be205389d /ldso/config.h
parentf43cd38254b0f915fcade2f61218430ebb5e3db3 (diff)
Removed INSTALL_DIR and replaced it with DEVEL_PREFIX, ROOT_DIR, and
TARGET_PREFIX to allow more flexibility. Also modified the gcc wrapper to do the right thing if -Wl,--dynamic-linker,xxx is passed on the command line. The gcc wrapper will also check the env variable UCLIBC_GCC_LDOPT for a dynamic linker option at runtime (although command line arg overrides the env variable).
Diffstat (limited to 'ldso/config.h')
-rw-r--r--ldso/config.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/ldso/config.h b/ldso/config.h
index 26171138d..3dbf0cdfa 100644
--- a/ldso/config.h
+++ b/ldso/config.h
@@ -5,11 +5,11 @@
# define LDSO_PRELOAD "../util/ld.so.preload"
# define LDDSTUB "../util/lddstub"
#else
-# define LDSO_IMAGE UCLIBC_INSTALL_DIR"/lib/ld.so"
-# define LDSO_CONF UCLIBC_INSTALL_DIR"/etc/ld.so.conf"
-# define LDSO_CACHE UCLIBC_INSTALL_DIR"/etc/ld.so.cache"
-# define LDSO_PRELOAD UCLIBC_INSTALL_DIR"/etc/ld.so.preload"
-# define LDDSTUB UCLIBC_INSTALL_DIR"/usr/lib/lddstub"
+# define LDSO_IMAGE UCLIBC_ROOT_DIR "/lib/ld.so"
+# define LDSO_CONF UCLIBC_ROOT_DIR "/etc/ld.so.conf"
+# define LDSO_CACHE UCLIBC_ROOT_DIR "/etc/ld.so.cache"
+# define LDSO_PRELOAD UCLIBC_ROOT_DIR "/etc/ld.so.preload"
+# define LDDSTUB UCLIBC_ROOT_DIR "/usr/lib/lddstub"
#endif
#define LDD_ARGV0 "__LDD_ARGV0"