diff options
Diffstat (limited to 'distrib/crunch/crunchgen/crunchgen.c')
-rw-r--r-- | distrib/crunch/crunchgen/crunchgen.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/distrib/crunch/crunchgen/crunchgen.c b/distrib/crunch/crunchgen/crunchgen.c index 6fdda47bd32..eb0c20bec18 100644 --- a/distrib/crunch/crunchgen/crunchgen.c +++ b/distrib/crunch/crunchgen/crunchgen.c @@ -1,4 +1,4 @@ -/* $OpenBSD: crunchgen.c,v 1.26 2006/10/15 06:44:13 jmc Exp $ */ +/* $OpenBSD: crunchgen.c,v 1.27 2006/10/25 01:53:19 drahn Exp $ */ /* * Copyright (c) 1994 University of Maryland @@ -400,7 +400,8 @@ add_libdirs(int argc, char **argv) continue; } if (is_dir(tmppath)) { - snprintf(tmppath2, sizeof(tmppath2), "%s/obj", tmppath); + snprintf(tmppath2, sizeof(tmppath2), "%s/%s", tmppath, + objdir); if (is_dir(tmppath2)) add_string(&libdirs, tmppath2); else { |