From 7b7ccf1aa0811dab9ff2d84954fa5e84b822e9f7 Mon Sep 17 00:00:00 2001 From: Dale Rahn Date: Wed, 25 Oct 2006 01:53:20 +0000 Subject: -O objdir diff missed a piece. --- distrib/crunch/crunchgen/crunchgen.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'distrib/crunch/crunchgen') 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 { -- cgit v1.2.3