ctfmerge: obey CTFMERGE_TERMINATE_NO_UNLINK as a tool too
This commit is contained in:
parent
3af74e3469
commit
0e6468a0fd
|
@ -682,7 +682,7 @@ terminate_cleanup(void)
|
||||||
if (outfile == NULL)
|
if (outfile == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
#if !defined (__FreeBSD__) && !defined(__NetBSD__)
|
#if !defined (__FreeBSD__) && !(defined(__NetBSD__) || HAVE_NBTOOL_CONFIG_H)
|
||||||
if (dounlink) {
|
if (dounlink) {
|
||||||
fprintf(stderr, "Removing %s\n", outfile);
|
fprintf(stderr, "Removing %s\n", outfile);
|
||||||
unlink(outfile);
|
unlink(outfile);
|
||||||
|
|
Loading…
Reference in New Issue