r15322: Don't depend on nonexisting targets - should fix the build
authorJelmer Vernooij <jelmer@samba.org>
Sat, 29 Apr 2006 12:55:19 +0000 (12:55 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:05:16 +0000 (14:05 -0500)
source/build/smb_build/output.pm

index e6cbcc0036c62781f16ca5276bca4f2c89abf2fb..52a7f1b6398be14e5edba58dd0ac0be5c65dd500 100644 (file)
@@ -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($)