aboutsummaryrefslogtreecommitdiff
path: root/tcc.h
diff options
context:
space:
mode:
Diffstat (limited to 'tcc.h')
-rw-r--r--tcc.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/tcc.h b/tcc.h
index 5949ab6..b98025c 100644
--- a/tcc.h
+++ b/tcc.h
@@ -152,12 +152,12 @@
# define CONFIG_SYSROOT ""
#endif
-#ifdef CONFIG_MULTIARCHDIR
-# define CONFIG_LDDIR "lib/" CONFIG_MULTIARCHDIR
-#endif
-
#ifndef CONFIG_LDDIR
-# define CONFIG_LDDIR "lib"
+# ifdef CONFIG_MULTIARCHDIR
+# define CONFIG_LDDIR "lib/" CONFIG_MULTIARCHDIR
+# else
+# define CONFIG_LDDIR "lib"
+# endif
#endif
/* path to find crt1.o, crti.o and crtn.o */