aboutsummaryrefslogtreecommitdiff
path: root/tcc.h
diff options
context:
space:
mode:
authorKamil Rytarowski <n54@gmx.com>2015-10-11 12:22:41 +0200
committerKamil Rytarowski <n54@gmx.com>2015-10-11 12:22:41 +0200
commita16f862cf6e4057faa72acdd762f57080175f881 (patch)
treef01ba99f95c55377172d7d25f57f5ef88d71d342 /tcc.h
parent6cb74ecacfcf47ca3660ed9254fc06abb34e04e3 (diff)
downloadtinycc-a16f862cf6e4057faa72acdd762f57080175f881.tar.gz
tinycc-a16f862cf6e4057faa72acdd762f57080175f881.tar.bz2
Define CONFIG_TCC_ELFINTERP on NetBSD as /usr/libexec/ld.elf_so
Diffstat (limited to 'tcc.h')
-rw-r--r--tcc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tcc.h b/tcc.h
index 99f4183..bd39a7e 100644
--- a/tcc.h
+++ b/tcc.h
@@ -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)