diff options
Diffstat (limited to 'src/lib/libast/features/prog')
-rw-r--r-- | src/lib/libast/features/prog | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/lib/libast/features/prog b/src/lib/libast/features/prog new file mode 100644 index 0000000..365ce88 --- /dev/null +++ b/src/lib/libast/features/prog @@ -0,0 +1,12 @@ +lib getexecname,_NSGetExecutablePath + +tst run{ + for p in /proc/self/exe /proc/self/path/a.out + do if test -e $p + then echo "#define _PROC_PROG \"$p\"" + break + fi + done +}end + +_hdr_macho_o_dyld = hdr mach-o/dyld |