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:
4
tcc.h
4
tcc.h
@ -205,8 +205,12 @@
|
|||||||
# define CONFIG_TCCDIR "."
|
# define CONFIG_TCCDIR "."
|
||||||
#endif
|
#endif
|
||||||
#ifndef CONFIG_LDDIR
|
#ifndef CONFIG_LDDIR
|
||||||
|
# ifdef TCC_TARGET_X86_64
|
||||||
|
# define CONFIG_LDDIR "lib64"
|
||||||
|
# else
|
||||||
# define CONFIG_LDDIR "lib"
|
# define CONFIG_LDDIR "lib"
|
||||||
# endif
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_MULTIARCHDIR
|
#ifdef CONFIG_MULTIARCHDIR
|
||||||
# define USE_MUADIR(s) s "/" CONFIG_MULTIARCHDIR
|
# define USE_MUADIR(s) s "/" CONFIG_MULTIARCHDIR
|
||||||
|
|||||||
Reference in New Issue
Block a user