From 1df662c1b094d250db0501cf31db83dc5f9060e4 Mon Sep 17 00:00:00 2001 From: grischka Date: Sat, 18 Jul 2009 22:07:25 +0200 Subject: tccpe: load dll on the fly --- tccelf.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tccelf.c') diff --git a/tccelf.c b/tccelf.c index 69f94c4..826e8e0 100644 --- a/tccelf.c +++ b/tccelf.c @@ -2424,6 +2424,7 @@ static int tcc_load_archive(TCCState *s1, int fd) return 0; } +#ifndef TCC_TARGET_PE /* load a DLL and all referenced DLLs. 'level = 0' means that the DLL is referenced by the user (so it should be added as DT_NEEDED in the generated ELF file) */ @@ -2740,3 +2741,4 @@ static int tcc_load_ldscript(TCCState *s1) } return 0; } +#endif -- cgit v1.3.1