summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-04-23 21:52:35 +0000
committerEric Andersen <andersen@codepoet.org>2001-04-23 21:52:35 +0000
commit54069d7c6d00a81a63eefde9e994ba284e67f175 (patch)
treec16f0fa8ce1fe06c8125eb1a1b3de343b7007de4 /extra
parent0c156a802ab860b1d6b23e5c2672b793ee9be54e (diff)
Make sure that we list the shared lib loader as a required lib
by explicitly linking against it. That way 'ldd' tells us what we need to know. -Erik
Diffstat (limited to 'extra')
-rw-r--r--extra/gcc-uClibc/gcc-uClibc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/extra/gcc-uClibc/gcc-uClibc.c b/extra/gcc-uClibc/gcc-uClibc.c
index 42c8d5aad..fd4174756 100644
--- a/extra/gcc-uClibc/gcc-uClibc.c
+++ b/extra/gcc-uClibc/gcc-uClibc.c
@@ -206,6 +206,9 @@ int main(int argc, char **argv)
gcc_argv[i++] = "-lc";
gcc_argv[i++] = GCC_LIB;
}
+ if (!use_static_linking) {
+ gcc_argv[i++] = DYNAMIC_LINKER;
+ }
}
gcc_argv[i++] = NULL;