Define CONFIG_TCC_ELFINTERP on NetBSD as /usr/libexec/ld.elf_so

This commit is contained in:
Kamil Rytarowski 2015-10-11 12:22:41 +02:00
parent 6cb74ecacf
commit a16f862cf6

2
tcc.h
View File

@ -263,6 +263,8 @@
# endif
# elif defined __DragonFly__
# define CONFIG_TCC_ELFINTERP "/usr/libexec/ld-elf.so.2"
# elif defined __NetBSD__
# define CONFIG_TCC_ELFINTERP "/usr/libexec/ld.elf_so"
# elif defined __GNU__
# define CONFIG_TCC_ELFINTERP "/lib/ld.so"
# elif defined(TCC_TARGET_PE)