lddir-on-x86-64: let CONFIG_LDDIR=lib64 by default if TCC_TARGET_X86_64
This is done for the case when CONFIG_LDDIR is not configured. Example: ./configure --enable-cross
This commit is contained in:
parent
b5f88b593a
commit
2d83ec7aa3
1 changed files with 5 additions and 1 deletions
6
tcc.h
6
tcc.h
|
@ -205,7 +205,11 @@
|
|||
# define CONFIG_TCCDIR "."
|
||||
#endif
|
||||
#ifndef CONFIG_LDDIR
|
||||
# define CONFIG_LDDIR "lib"
|
||||
# ifdef TCC_TARGET_X86_64
|
||||
# define CONFIG_LDDIR "lib64"
|
||||
# else
|
||||
# define CONFIG_LDDIR "lib"
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_MULTIARCHDIR
|
||||
|
|
Loading…
Reference in a new issue