From d81890c1cc4dbdc9bb8645958693f42f9e96848d Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 29 Apr 2006 12:55:19 +0000 Subject: r15322: Don't depend on nonexisting targets - should fix the build (This used to be commit 34d9a10734d2253564f37a4034003b39489f858e) --- source4/build/smb_build/output.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source4') diff --git a/source4/build/smb_build/output.pm b/source4/build/smb_build/output.pm index e6cbcc0036..52a7f1b639 100644 --- a/source4/build/smb_build/output.pm +++ b/source4/build/smb_build/output.pm @@ -85,12 +85,12 @@ sub generate_static_library($) $lib->{LIBRARY_NAME} = "lib".lc($link_name).".a"; push(@{$lib->{LINK_FLAGS}}, "\$($lib->{TYPE}_$lib->{NAME}\_OBJ_LIST)"); - $lib->{TARGET} = "bin/$lib->{LIBRARY_NAME}"; if (defined($lib->{OBJ_FILES})) { - $lib->{OUTPUT} = $lib->{TARGET}; + $lib->{TARGET} = "bin/$lib->{LIBRARY_NAME}"; } else { - $lib->{OUTPUT} = ""; + $lib->{TARGET} = ""; } + $lib->{OUTPUT} = $lib->{TARGET}; } sub generate_binary($) -- cgit